wayland: Add format hex value to debug print
authorBenjamin Otte <otte@redhat.com>
Mon, 20 Sep 2021 05:04:20 +0000 (07:04 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 20 Sep 2021 05:04:20 +0000 (07:04 +0200)
It's how it's listed in the spec, this makes it easier to search.

gdk/wayland/gdkdisplay-wayland.c

index 4a5f6333694de7b5e01a1856638d982f75327d29..4f70a3c833c428300b3e24ee3da7c581e20a0faf 100644 (file)
@@ -296,7 +296,7 @@ wl_shm_format (void          *data,
 {
   GDK_NOTE (MISC,
             char buf[10];
-            g_message ("supported pixel format %s", get_format_name (format, buf));
+            g_message ("supported pixel format %s (0x%X)", get_format_name (format, buf), (guint) format);
             );
 }