From 309f78ff52658f4e8ceda2024963b7b121033fbf Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Fri, 6 Dec 2013 20:03:46 -0500 Subject: [PATCH] display: Fix window pings These are 32-bit values, not longs. Treat them as such. --- src/core/display.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/display.c b/src/core/display.c index 2ae9a5daf..b0874af37 100644 --- a/src/core/display.c +++ b/src/core/display.c @@ -506,8 +506,7 @@ meta_display_open (void) the_display->xids = g_hash_table_new (meta_unsigned_long_hash, meta_unsigned_long_equal); - the_display->pending_pings = g_hash_table_new (meta_unsigned_long_hash, - meta_unsigned_long_equal); + the_display->pending_pings = g_hash_table_new (g_int_hash, g_int_equal); the_display->wayland_windows = g_hash_table_new (NULL, NULL); i = 0;