From 216a04bdd057c03a719a0908cd003503b4f73fdb Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 17 Mar 2003 02:03:45 +0000 Subject: speed up workspace switching by causing the minimal number of expose events (none for the hiding windows!) --- openbox/client.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'openbox/client.h') 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 -- cgit v1.2.3