summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2007-05-04 15:13:34 +0200
committerDanny Baumann <dannybaumann@web.de>2007-05-04 15:13:34 +0200
commit3606c918c6805c57b482376f5afcdfa1535a8881 (patch)
treefbcfdc8aecc4f22541e07ec8fb0dc0b3b7bebed7
parent4656094db721dd4a877edd683df405028a239dc4 (diff)
downloadberyl-premerge-3606c918c6805c57b482376f5afcdfa1535a8881.tar.gz
beryl-premerge-3606c918c6805c57b482376f5afcdfa1535a8881.tar.bz2
Fix some window state related strangenesses.
-rw-r--r--src/extrawm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/extrawm.c b/src/extrawm.c
index 8dbe1fa..b021743 100644
--- a/src/extrawm.c
+++ b/src/extrawm.c
@@ -63,13 +63,13 @@ fullscreenWindow (CompWindow * w,
if (state == (w->state & CompWindowStateFullscreenMask))
return;
-
+
newState &= ~CompWindowStateFullscreenMask;
newState |= state;
+ changeWindowState(w, newState);
recalcWindowType(w);
recalcWindowActions(w);
- changeWindowState(w, newState);
updateWindowAttributes(w, CompStackingUpdateModeNormal);
}
@@ -134,6 +134,7 @@ toggleAlwaysOnTop (CompDisplay * d,
unsigned int newState;
newState = w->state ^ CompWindowStateAboveMask;
changeWindowState (w, newState);
+ updateWindowAttributes (w, CompStackingUpdateModeNormal);
}
return TRUE;