From f5d7952a9470f132a612d71b8c86a1279ea3efa3 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 14 May 2007 23:21:53 +0000 Subject: big scary g_assert(). interactive actions should never move focus until they're done. --- openbox/client.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'openbox/client.h') diff --git a/openbox/client.h b/openbox/client.h index aaebceaa..5526c282 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -493,11 +493,11 @@ void client_kill(ObClient *self); */ void client_set_desktop(ObClient *self, guint target, gboolean donthide); -/*! Show the client if it should be shown. */ -void client_show(ObClient *self); +/*! Show the client if it should be shown. Returns if the window is shown. */ +gboolean client_show(ObClient *self); -/*! Show the client if it should be shown. */ -void client_hide(ObClient *self); +/*! Show the client if it should be shown. Returns if the window is hidden. */ +gboolean client_hide(ObClient *self); /*! Show the client if it should be shown, and hide it if it should be hidden. This is for example, when switching desktops. -- cgit v1.2.3