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)