From 7bb829f8b721b8b5a75740b2686fa12f63a798ff Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 24 Mar 2003 00:40:29 +0000 Subject: [PATCH] no \n in g_message --- openbox/client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.39.2