dont retrurn a context while incoify animating
This commit is contained in:
parent
9ee9b70757
commit
cf67851d6d
1 changed files with 4 additions and 1 deletions
|
@ -838,6 +838,10 @@ ObFrameContext frame_context(ObClient *client, Window win)
|
||||||
if (win == RootWindow(ob_display, ob_screen))
|
if (win == RootWindow(ob_display, ob_screen))
|
||||||
return OB_FRAME_CONTEXT_DESKTOP;
|
return OB_FRAME_CONTEXT_DESKTOP;
|
||||||
if (client == NULL) return OB_FRAME_CONTEXT_NONE;
|
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) {
|
if (win == client->window) {
|
||||||
/* conceptually, this is the desktop, as far as users are
|
/* conceptually, this is the desktop, as far as users are
|
||||||
concerned */
|
concerned */
|
||||||
|
@ -846,7 +850,6 @@ ObFrameContext frame_context(ObClient *client, Window win)
|
||||||
return OB_FRAME_CONTEXT_CLIENT;
|
return OB_FRAME_CONTEXT_CLIENT;
|
||||||
}
|
}
|
||||||
|
|
||||||
self = client->frame;
|
|
||||||
if (win == self->inner || win == self->plate) {
|
if (win == self->inner || win == self->plate) {
|
||||||
/* conceptually, this is the desktop, as far as users are
|
/* conceptually, this is the desktop, as far as users are
|
||||||
concerned */
|
concerned */
|
||||||
|
|
Loading…
Reference in a new issue