diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-13 07:38:35 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-13 07:38:35 +0000 |
| commit | 685dca1c5fb1fac160ad845a710bc2c30ff87751 (patch) | |
| tree | f51369842bd62822d3dbdbd1fbe35adb2dc9e68a /openbox/client.h | |
| parent | 1e957a168808f0357509300e879c0a7e97b49a24 (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.h | 4 |
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 |
