summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/group
diff options
context:
space:
mode:
authorracarr <racarr@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-22 11:41:42 +0000
committerracarr <racarr@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-22 11:41:42 +0000
commitd281e262ced94a538884798150ab7339f5ab778a (patch)
treebd522172d297d8119cb2211599b3f6cf6b32e29a /beryl-plugins/src/group
parentdb74fbba8a534d0b1eb2acd675767965d50e4157 (diff)
downloadmarex-dev-d281e262ced94a538884798150ab7339f5ab778a.tar.gz
marex-dev-d281e262ced94a538884798150ab7339f5ab778a.tar.bz2
use w->lastState
git-svn-id: file:///beryl/trunk@2954 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/group')
-rw-r--r--beryl-plugins/src/group/group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/beryl-plugins/src/group/group.c b/beryl-plugins/src/group/group.c
index 1260cea..0cdc206 100644
--- a/beryl-plugins/src/group/group.c
+++ b/beryl-plugins/src/group/group.c
@@ -1003,7 +1003,7 @@ void groupWindowResizeNotify(CompWindow * w, int dx, int dy, int dwidth, int dhe
}
if (gw->group && (gw->group->grabWindow == w->id) &&
- !gd->ignoreMode && gs->opt[GROUP_SCREEN_OPTION_RESIZE].value.b) {
+ !gd->ignoreMode && gs->opt[GROUP_SCREEN_OPTION_RESIZE].value.b && !(w->lastState & (CompWindowStateMaximizedVertMask | CompWindowStateMaximizedHorzMask))) {
int i;
for (i = 0; i < gw->group->nWins; i++) {
CompWindow *cw = gw->group->windows[i];