[libwnck] window: ensure that ALL_WORKSPACES has the X11 expected value



commit 3baa3da74e2139de03271df461ec2c474e4853ec
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date:   Thu Jul 27 19:26:26 2017 +0800

    window: ensure that ALL_WORKSPACES has the X11 expected value
    
    And cast it explicitly so that we mute warnings
    
    https://bugzilla.gnome.org/show_bug.cgi?id=785451

 libwnck/window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libwnck/window.c b/libwnck/window.c
index fe78e4a..10961eb 100644
--- a/libwnck/window.c
+++ b/libwnck/window.c
@@ -45,7 +45,7 @@
  */
 
 #define FALLBACK_NAME _("Untitled window")
-#define ALL_WORKSPACES (G_MAXINT)
+#define ALL_WORKSPACES ((int) 0xFFFFFFFF)
 
 static GHashTable *window_hash = NULL;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]