summaryrefslogtreecommitdiff
path: root/clutter
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2017-08-12 11:52:28 +0200
committerCarlos Garnacho <carlosg@gnome.org>2017-08-12 11:55:19 +0200
commitc9937faf1e2c81005289e18974ed5d10b2dc37ab (patch)
tree863f5f5565b0d7da68cf661a719c391c4082cb30 /clutter
parent98606bc0467027b764095a60d35264afe74e8e2d (diff)
downloadmutter-c9937faf1e2c81005289e18974ed5d10b2dc37ab.tar.gz
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.
Diffstat (limited to 'clutter')
-rw-r--r--clutter/clutter/x11/clutter-device-manager-xi2.c2
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 1ecec0297..da3457a65 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);