summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-03-24 00:40:29 +0000
committerDana Jansens <danakj@orodu.net>2003-03-24 00:40:29 +0000
commit7bb829f8b721b8b5a75740b2686fa12f63a798ff (patch)
tree77e747acd30e0025b010160bb9073bebc14029a7
parent4a6e98cad8dc8a8ca4006886615f4c4a7a80b02a (diff)
no \n in g_message
-rw-r--r--openbox/client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 8d1cc034..7a5bc3d7 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -938,7 +938,7 @@ void client_update_wmhints(Client *self)
if (ur != self->urgent) {
self->urgent = ur;
- g_message("Urgent Hint for 0x%lx: %s\n", self->window,
+ g_message("Urgent Hint for 0x%lx: %s", self->window,
ur ? "ON" : "OFF");
/* fire the urgent callback if we're mapped, otherwise, wait until
after we're mapped */
@@ -1930,6 +1930,7 @@ gboolean client_focus(Client *self)
void client_unfocus(Client *self)
{
g_assert(focus_client == self);
+ focus_set_client(NULL);
}
gboolean client_focused(Client *self)