]> Dogcows Code - chaz/openbox/commitdiff
dont retrurn a context while incoify animating
authorDana Jansens <danakj@orodu.net>
Sat, 5 May 2007 13:29:01 +0000 (13:29 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 5 May 2007 13:29:01 +0000 (13:29 +0000)
openbox/frame.c

index 3d21c2b02f5c1189787aab1678cf23f0e05c53ff..a07c60e46f9c4333f99e8d1765bc933ba5e483f3 100644 (file)
@@ -838,6 +838,10 @@ ObFrameContext frame_context(ObClient *client, Window win)
     if (win == RootWindow(ob_display, ob_screen))
         return OB_FRAME_CONTEXT_DESKTOP;
     if (client == NULL) return OB_FRAME_CONTEXT_NONE;
+
+    self = client->frame;
+    if (self->iconify_animation_step) return OB_FRAME_CONTEXT_NONE;
+
     if (win == client->window) {
         /* conceptually, this is the desktop, as far as users are
            concerned */
@@ -846,7 +850,6 @@ ObFrameContext frame_context(ObClient *client, Window win)
         return OB_FRAME_CONTEXT_CLIENT;
     }
 
-    self = client->frame;
     if (win == self->inner || win == self->plate) {
         /* conceptually, this is the desktop, as far as users are
            concerned */
This page took 0.024286 seconds and 4 git commands to generate.