From: Dana Jansens Date: Mon, 17 Mar 2003 02:05:05 +0000 (+0000) Subject: make client_showhide a static function X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=7f561a6a7acee71d55eecc9ed2bd278147ce2536;p=chaz%2Fopenbox make client_showhide a static function --- diff --git a/openbox/client.c b/openbox/client.c index 2b95a598..fdc171fb 100644 --- a/openbox/client.c +++ b/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 @@ gboolean client_should_show(Client *self) return TRUE; } -void client_showhide(Client *self) +static void client_showhide(Client *self) { if (client_should_show(self)) diff --git a/openbox/client.h b/openbox/client.h index 4df3893e..b41f0644 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -307,10 +307,6 @@ void client_set_list(); 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. */