X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient.c;h=b0482faa6003beb4a8321aa3a4ccddc9996504da;hb=9451205cf172d088948d40999e85ad07c3d430dd;hp=addaed44f8c1f14fd531bb1570c6766446c3d1ae;hpb=c6dac8539715c12db1e18c13f389c59557270268;p=chaz%2Fopenbox 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);