From 7f561a6a7acee71d55eecc9ed2bd278147ce2536 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 17 Mar 2003 02:05:05 +0000 Subject: [PATCH] make client_showhide a static function --- openbox/client.c | 3 ++- openbox/client.h | 4 ---- 2 files changed, 2 insertions(+), 5 deletions(-) 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. */ -- 2.39.2