[Xfce4-commits] [xfce/xfwm4] 01/01: Restore original window size after untiling (Bug 8765)

noreply at xfce.org noreply at xfce.org
Fri Apr 18 02:05:07 CEST 2014


This is an automated email from the git hooks/post-receive script.

ochosi pushed a commit to branch master
in repository xfce/xfwm4.

commit ce17bcde01c54d4f20598251f0800c5aa1d646bd
Author: Thaddaeus Tintenfisch <thad.fisch at gmail.com>
Date:   Sun Apr 6 02:16:40 2014 +0200

    Restore original window size after untiling (Bug 8765)
    
    Signed-off-by: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
---
 src/client.c |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/client.c b/src/client.c
index 4e86808..60430a8 100644
--- a/src/client.c
+++ b/src/client.c
@@ -1459,14 +1459,10 @@ clientSaveSizePos (Client *c)
 {
     g_return_if_fail (c != NULL);
 
-    if (!FLAG_TEST (c->flags, CLIENT_FLAG_MAXIMIZED_HORIZ))
+    if (!FLAG_TEST (c->flags, CLIENT_FLAG_MAXIMIZED_HORIZ) && !FLAG_TEST (c->flags, CLIENT_FLAG_MAXIMIZED_VERT))
     {
         c->old_x = c->x;
         c->old_width = c->width;
-    }
-
-    if (!FLAG_TEST (c->flags, CLIENT_FLAG_MAXIMIZED_VERT))
-    {
         c->old_y = c->y;
         c->old_height = c->height;
     }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list