From: Dana Jansens Date: Mon, 24 Mar 2003 00:40:29 +0000 (+0000) Subject: no \n in g_message X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=7bb829f8b721b8b5a75740b2686fa12f63a798ff;p=chaz%2Fopenbox no \n in g_message --- 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)