diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-17 04:15:34 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-17 04:15:34 +0000 |
| commit | 382d37553d9dc7679464cf71aecf8590cc06a2cb (patch) | |
| tree | ae005ac0608378646c856c9a83b111710c768db8 /openbox/client.c | |
| parent | f9a79e6062a41615c58cee81fa721578d7c2a4aa (diff) | |
add an atom ob_wm_action_undecorate to match with ob_wm_state_undecorated, so stuff could know if the window can be undecorated
Diffstat (limited to 'openbox/client.c')
| -rw-r--r-- | openbox/client.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c index addaed44..b0482faa 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -1721,7 +1721,7 @@ void client_setup_decor_and_functions(ObClient *self) static void client_change_allowed_actions(ObClient *self) { - gulong actions[11]; + gulong actions[12]; gint num = 0; /* desktop windows are kept on all desktops */ @@ -1748,6 +1748,8 @@ static void client_change_allowed_actions(ObClient *self) actions[num++] = prop_atoms.net_wm_action_above; if (self->functions & OB_CLIENT_FUNC_BELOW) actions[num++] = prop_atoms.net_wm_action_below; + if (self->functions & OB_CLIENT_FUNC_UNDECORATE) + actions[num++] = prop_atoms.ob_wm_action_undecorate; PROP_SETA32(self->window, net_wm_allowed_actions, atom, actions, num); |
