From cf67851d6d36eb45ae722ad017ecaf91ba4c21fd Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 5 May 2007 13:29:01 +0000 Subject: [PATCH] dont retrurn a context while incoify animating --- openbox/frame.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openbox/frame.c b/openbox/frame.c index 3d21c2b0..a07c60e4 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -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 */ -- 2.39.2