summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--workarounds.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/workarounds.c b/workarounds.c
index e599975..494023c 100644
--- a/workarounds.c
+++ b/workarounds.c
@@ -456,7 +456,9 @@ workaroundsFiniWindow (CompPlugin *plugin, CompWindow *w)
recalcWindowActions (w);
}
- workaroundsRemoveSticky (w);
+ if (w->state & CompWindowStateStickyMask && ww->madeSticky)
+ setWindowState (w->screen->display,
+ w->state & ~CompWindowStateStickyMask, w->id);
if (ww->updateHandle)
compRemoveTimeout (ww->updateHandle);