summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2017-07-27 19:26:26 +0800
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2017-07-27 19:36:03 +0800
commit3baa3da74e2139de03271df461ec2c474e4853ec (patch)
treefe31f704bfd768fd2370c6d5375a9661ecce0883
parentaab7f7ace8838803f984599f0cba400d15059be3 (diff)
downloadlibwnck-3baa3da74e2139de03271df461ec2c474e4853ec.tar.gz
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
-rw-r--r--libwnck/window.c2
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;