[Xfce4-commits] <xfwm4:master> Do not tile fullscreen windows

Olivier Fourdan noreply at xfce.org
Mon Feb 13 23:12:01 CET 2012


Updating branch refs/heads/master
         to ff9bfd5ebfe7e7dad4751448034c4e21588aee63 (commit)
       from 8d700b2283bb1bb3cdcc005ff839a11d5d09b228 (commit)

commit ff9bfd5ebfe7e7dad4751448034c4e21588aee63
Author: Olivier Fourdan <ofourdan at redhat.com>
Date:   Mon Feb 13 23:02:59 2012 +0100

    Do not tile fullscreen windows

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

diff --git a/src/client.h b/src/client.h
index a87bd91..8d37de8 100644
--- a/src/client.h
+++ b/src/client.h
@@ -220,7 +220,8 @@
 #define CLIENT_CAN_FILL_WINDOW(c)       (FLAG_TEST(c->xfwm_flags, XFWM_FLAG_HAS_RESIZE | \
                                                                   XFWM_FLAG_IS_RESIZABLE) && \
                                          !FLAG_TEST (c->flags, CLIENT_FLAG_FULLSCREEN | CLIENT_FLAG_MAXIMIZED))
-#define CLIENT_CAN_TILE_WINDOW(c)       (CLIENT_CAN_MAXIMIZE_WINDOW(c) | (c->type & WINDOW_NORMAL))
+#define CLIENT_CAN_TILE_WINDOW(c)       (CLIENT_CAN_MAXIMIZE_WINDOW(c) && \
+                                         (c->type & WINDOW_NORMAL))
 
 typedef enum
 {
@@ -435,7 +436,8 @@ void                     clientToggleMaximized                  (Client *,
 void                     clientTile                             (Client *,
                                                                  gint,
                                                                  gint,
-                                                                 tilePositionType);
+                                                                 tilePositionType,
+                                                                 gboolean);
 void                     clientUpdateOpacity                    (Client *);
 void                     clientUpdateAllOpacity                 (ScreenInfo *);
 void                     clientSetOpacity                       (Client *,


More information about the Xfce4-commits mailing list