]> Dogcows Code - chaz/openbox/blobdiff - openbox/action.c
lots of fixes for the iconify animation. i think it should all work perfectly now ?
[chaz/openbox] / openbox / action.c
index b54e888eec34a8e5d8679b7c43fc2ad433438768..2e348c7c20aa9ef3e5a2a9f220e85f39f8745329 100644 (file)
@@ -48,19 +48,8 @@ inline void client_action_start(union ActionData *data)
 inline void client_action_end(union ActionData *data)
 {
     if (config_focus_follow)
-        if (data->any.context != OB_FRAME_CONTEXT_CLIENT) {
-            if (!data->any.button) {
-                grab_pointer(FALSE, FALSE, OB_CURSOR_NONE);
-            } else {
-                ObClient *c;
-
-                /* usually this is sorta redundant, but with a press action
-                   the enter event will come as a GrabNotify which is
-                   ignored, so this will handle that case */
-                if ((c = client_under_pointer()))
-                    event_enter_client(c);
-            }
-        }
+        if (data->any.context != OB_FRAME_CONTEXT_CLIENT && !data->any.button)
+            grab_pointer(FALSE, FALSE, OB_CURSOR_NONE);
 }
 
 typedef struct
@@ -1275,7 +1264,7 @@ void action_raiselower(union ActionData *data)
             if (cit == c) break;
             if (client_normal(cit) == client_normal(c) &&
                     cit->layer == c->layer &&
-                    cit->frame->visible &&
+                    frame_visible(cit->frame) &&
                     !client_search_transient(c, cit))
             {
                 if (RECT_INTERSECTS_RECT(cit->frame->area, c->frame->area)) {
This page took 0.020768 seconds and 4 git commands to generate.