summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-03-17 02:05:05 +0000
committerDana Jansens <danakj@orodu.net>2003-03-17 02:05:05 +0000
commit7f561a6a7acee71d55eecc9ed2bd278147ce2536 (patch)
treecafe055adc9ebbbb37736179a2e218986e7bd2f7 /openbox
parent216a04bdd057c03a719a0908cd003503b4f73fdb (diff)
make client_showhide a static function
Diffstat (limited to 'openbox')
-rw-r--r--openbox/client.c3
-rw-r--r--openbox/client.h4
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.
*/