[mutter/wayland] display: Fix window pings



commit 309f78ff52658f4e8ceda2024963b7b121033fbf
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Dec 6 20:03:46 2013 -0500

    display: Fix window pings
    
    These are 32-bit values, not longs. Treat them as such.

 src/core/display.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/core/display.c b/src/core/display.c
index 2ae9a5d..b0874af 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;


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