make client_showhide a static function
Dana Jansens danakj@orodu.net
2 files changed,
2 insertions(+),
5 deletions(-)
M
openbox/client.c
→
openbox/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.h
→
openbox/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. */