summaryrefslogtreecommitdiff
path: root/openbox/client.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-13 07:38:35 +0000
committerDana Jansens <danakj@orodu.net>2007-05-13 07:38:35 +0000
commit685dca1c5fb1fac160ad845a710bc2c30ff87751 (patch)
treef51369842bd62822d3dbdbd1fbe35adb2dc9e68a /openbox/client.h
parent1e957a168808f0357509300e879c0a7e97b49a24 (diff)
likewise if a window is unmanaged and we were trying to give it focus, we want to know about it - also if the window gets hidden for some other reason, we also want to know about it.
add a notifier for windows being hidden, and use that instead - it handles both cases.
Diffstat (limited to 'openbox/client.h')
-rw-r--r--openbox/client.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbox/client.h b/openbox/client.h
index bc7c32e8..1a2273f4 100644
--- a/openbox/client.h
+++ b/openbox/client.h
@@ -312,6 +312,10 @@ typedef void (*ObClientCallback)(ObClient *client, gpointer data);
void client_add_destructor(ObClientCallback func, gpointer data);
void client_remove_destructor(ObClientCallback func);
+/*! Get notified when the client is hidden */
+void client_add_hide_notify(ObClientCallback func, gpointer data);
+void client_remove_hide_notify(ObClientCallback func);
+
/*! Manages all existing windows */
void client_manage_all();
/*! Manages a given window