make client_showhide a static function
This commit is contained in:
parent
216a04bdd0
commit
7f561a6a7a
2 changed files with 2 additions and 5 deletions
|
@ -32,6 +32,7 @@ static void client_get_state(Client *self);
|
||||||
static void client_get_shaped(Client *self);
|
static void client_get_shaped(Client *self);
|
||||||
static void client_get_mwm_hints(Client *self);
|
static void client_get_mwm_hints(Client *self);
|
||||||
static void client_get_gravity(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_allowed_actions(Client *self);
|
||||||
static void client_change_state(Client *self);
|
static void client_change_state(Client *self);
|
||||||
static Client *search_focus_tree(Client *node, Client *skip);
|
static Client *search_focus_tree(Client *node, Client *skip);
|
||||||
|
@ -1233,7 +1234,7 @@ gboolean client_should_show(Client *self)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void client_showhide(Client *self)
|
static void client_showhide(Client *self)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (client_should_show(self))
|
if (client_should_show(self))
|
||||||
|
|
|
@ -307,10 +307,6 @@ void client_set_list();
|
||||||
surroundings (struts, etc). */
|
surroundings (struts, etc). */
|
||||||
void client_remaximize(Client *self);
|
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.
|
/*! Determines if the client should be shown or hidden currently.
|
||||||
@return TRUE if it should be visible; otherwise, FALSE.
|
@return TRUE if it should be visible; otherwise, FALSE.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue