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.
This commit is contained in:
Carlos Garnacho 2017-08-12 11:52:28 +02:00
parent 06d56421cb
commit c9c157ed64

View File

@ -1160,7 +1160,7 @@ translate_pad_event (ClutterEvent *event,
event->any.type == CLUTTER_PAD_RING event->any.type == CLUTTER_PAD_RING
? "pad ring " ? "pad ring "
: "pad strip", : "pad strip",
(unsigned int) stage_x11->xwin, (unsigned int) xev->event,
device->id, device->id,
device->device_name, device->device_name,
event->any.time, value); event->any.time, value);