diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-17 02:03:45 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-17 02:03:45 +0000 |
| commit | 216a04bdd057c03a719a0908cd003503b4f73fdb (patch) | |
| tree | ec77856103bc1ebfcbf4ab60b536c06a7479e3ea /openbox/client.h | |
| parent | 432ac0983e058133e03885171f266dc4ba07f488 (diff) | |
speed up workspace switching by causing the minimal number of expose events (none for the hiding windows!)
Diffstat (limited to 'openbox/client.h')
| -rw-r--r-- | openbox/client.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/openbox/client.h b/openbox/client.h index 0f9eaa4b..4df3893e 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -309,7 +309,12 @@ void client_remaximize(Client *self); /*! Shows the window if it should be shown, or hides it Used when changing desktops, the window's state, etc. */ -void client_showhide(Client *self, gboolean firehook); +void client_showhide(Client *self); + +/*! Determines if the client should be shown or hidden currently. + @return TRUE if it should be visible; otherwise, FALSE. +*/ +gboolean client_should_show(Client *self); /*! Returns if the window should be treated as a normal window. Some windows (desktops, docks, splash screens) have special rules applied |
