all repos — openbox @ 7f561a6a7acee71d55eecc9ed2bd278147ce2536

openbox fork - make it a bit more like ryudo

make client_showhide a static function
Dana Jansens danakj@orodu.net
commit

7f561a6a7acee71d55eecc9ed2bd278147ce2536

parent

216a04bdd057c03a719a0908cd003503b4f73fdb

2 files changed, 2 insertions(+), 5 deletions(-)

jump to
M openbox/client.copenbox/client.c

@@ -32,6 +32,7 @@ static void client_get_state(Client *self);

static void client_get_shaped(Client *self); static void client_get_mwm_hints(Client *self); static void client_get_gravity(Client *self); +static void client_showhide(Client *self); static void client_change_allowed_actions(Client *self); static void client_change_state(Client *self); static Client *search_focus_tree(Client *node, Client *skip);

@@ -1233,7 +1234,7 @@

return TRUE; } -void client_showhide(Client *self) +static void client_showhide(Client *self) { if (client_should_show(self))
M openbox/client.hopenbox/client.h

@@ -307,10 +307,6 @@ Use this to make the window readjust its maximized size to new

surroundings (struts, etc). */ 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); - /*! Determines if the client should be shown or hidden currently. @return TRUE if it should be visible; otherwise, FALSE. */