[mutter/gnome-3-24] clutter: Fix build with --enable-debug



commit c9c157ed64b104c77fb214399d63ca6cfb8528e1
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Aug 12 11:52:28 2017 +0200

    clutter: Fix build with --enable-debug
    
    Message was poking stage_x11, which doesn't exist in this context.
    Just print the Window that is receiving the event, the event will be
    emitted into the only existing stage anyway.

 clutter/clutter/x11/clutter-device-manager-xi2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/clutter/clutter/x11/clutter-device-manager-xi2.c 
b/clutter/clutter/x11/clutter-device-manager-xi2.c
index 735db69..a8aaacc 100644
--- a/clutter/clutter/x11/clutter-device-manager-xi2.c
+++ b/clutter/clutter/x11/clutter-device-manager-xi2.c
@@ -1160,7 +1160,7 @@ translate_pad_event (ClutterEvent       *event,
                 event->any.type == CLUTTER_PAD_RING
                 ? "pad ring  "
                 : "pad strip",
-                (unsigned int) stage_x11->xwin,
+                (unsigned int) xev->event,
                 device->id,
                 device->device_name,
                 event->any.time, value);


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