diff options
author | Olivier Fourdan <fourdan@xfce.org> | 2010-12-14 09:23:07 +0100 |
---|---|---|
committer | Olivier Fourdan <fourdan@xfce.org> | 2010-12-15 14:57:19 +0100 |
commit | 9f01853ab8406f2ee8e4261094da556c800ea999 (patch) | |
tree | 0e8c66614958e0b2f02a4ee9b9187b019d79173c | |
parent | d4007b56100503fcc341e98fa5cb75c5d73cdd5e (diff) | |
download | xfwm4-9f01853ab8406f2ee8e4261094da556c800ea999.tar.gz |
Fix bug #6589
Do not force full visibility of windows on screen resolution changes.
-rw-r--r-- | src/client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.c b/src/client.c index 55fd8a12e..f3d135a12 100644 --- a/src/client.c +++ b/src/client.c @@ -724,7 +724,7 @@ clientConfigure (Client * c, XWindowChanges * wc, unsigned long mask, unsigned s && CONSTRAINED_WINDOW (c) && !((c->gravity == StaticGravity) && (c->x == 0) && (c->y == 0))) { - clientConstrainPos (c, CFG_KEEP_VISIBLE); + clientConstrainPos (c, flags & CFG_KEEP_VISIBLE); if (c->x != px) { @@ -3522,7 +3522,7 @@ clientScreenResize(ScreenInfo *screen_info) { wc.x = c->x; wc.y = c->y; - clientConfigure (c, &wc, CWX | CWY, CFG_CONSTRAINED | CFG_REQUEST | CFG_KEEP_VISIBLE); + clientConfigure (c, &wc, CWX | CWY, CFG_CONSTRAINED | CFG_REQUEST); } } |