]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
super correct enter event ignoring that will only ignore what it has to, yay?
[chaz/openbox] / openbox / client.c
index addaed44f8c1f14fd531bb1570c6766446c3d1ae..34af0848a6707055f34a6d2b983251cd4e80b4ac 100644 (file)
@@ -565,7 +565,7 @@ void client_unmanage(ObClient *self)
 
     /* ignore enter events from the unmap so it doesnt mess with the
        focus */
-    event_ignore_queued_enters();
+    event_ignore_enters_leaving_window(self);
 
     mouse_grab_for_client(self, FALSE);
 
@@ -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);
 
This page took 0.023605 seconds and 4 git commands to generate.