[Xfce4-commits] <xfwm4:master> Fix bug #6589

Olivier Fourdan noreply at xfce.org
Wed Dec 15 19:04:05 CET 2010


Updating branch refs/heads/master
         to 9f01853ab8406f2ee8e4261094da556c800ea999 (commit)
       from d4007b56100503fcc341e98fa5cb75c5d73cdd5e (commit)

commit 9f01853ab8406f2ee8e4261094da556c800ea999
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Tue Dec 14 09:23:07 2010 +0100

    Fix bug #6589
    
    Do not force full visibility of windows on screen resolution changes.

 src/client.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/client.c b/src/client.c
index 55fd8a1..f3d135a 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);
         }
     }
 



More information about the Xfce4-commits mailing list