diff options
author | Danny Baumann <dannybaumann@web.de> | 2007-04-08 09:50:35 +0200 |
---|---|---|
committer | Danny Baumann <dannybaumann@web.de> | 2007-04-08 09:50:35 +0200 |
commit | 597cd27c0c363f135de89a84b9a3643a54a708e3 (patch) | |
tree | 7eb60ae39a397462ebdfe903765cd4ea480f51cd | |
parent | 3a6ece86d89c2de0f10838b9e3fef5e368decc5b (diff) | |
download | beryl-premerge-597cd27c0c363f135de89a84b9a3643a54a708e3.tar.gz beryl-premerge-597cd27c0c363f135de89a84b9a3643a54a708e3.tar.bz2 |
Adaptions for changed API of function updateWindowAttributes
-rw-r--r-- | src/extrawm.c | 2 | ||||
-rw-r--r-- | src/group/group.c | 4 | ||||
-rw-r--r-- | src/wall.c | 3 |
3 files changed, 5 insertions, 4 deletions
diff --git a/src/extrawm.c b/src/extrawm.c index 227ae27..d4ef7c3 100644 --- a/src/extrawm.c +++ b/src/extrawm.c @@ -70,7 +70,7 @@ fullscreenWindow (CompWindow * w, recalcWindowType(w); recalcWindowActions(w); changeWindowState(w, newState); - updateWindowAttributes(w, FALSE); + updateWindowAttributes(w, CompStackingUpdateModeNone); } static Bool diff --git a/src/group/group.c b/src/group/group.c index d7cde1a..1e4a5ed 100644 --- a/src/group/group.c +++ b/src/group/group.c @@ -274,7 +274,7 @@ groupShadeWindows(CompWindow *top, GroupSelection *group, Bool shade) state = w->state & ~CompWindowStateShadedMask; changeWindowState(w, state); - updateWindowAttributes(w, FALSE); + updateWindowAttributes(w, CompStackingUpdateModeNone); } } @@ -1214,7 +1214,7 @@ void groupHandleEvent(CompDisplay * d, XEvent * event) top-tab instead - but only if is visible */ if (tw->shaded) { changeWindowState(tw, tw->state & ~CompWindowStateShadedMask); - updateWindowAttributes(tw, FALSE); + updateWindowAttributes(tw, CompStackingUpdateModeNone); } else if (tw->minimized) unminimizeWindow(tw); @@ -776,7 +776,8 @@ static void wallHandleEvent(CompDisplay * d, XEvent * event) /* update window attibutes to make sure a moved maximized window is properly snapped to the work area */ - updateWindowAttributes(ws->dndWindow, FALSE); + updateWindowAttributes(ws->dndWindow, + CompStackingUpdateModeNone); } ws->dndState = DnDNone; |