ui: Remove a superfluous set on emulated motion events

This is already set by the gdk_event_new above.
This commit is contained in:
Jasper St. Pierre 2014-07-08 11:20:17 -04:00
parent a307e13a63
commit 355621b0ab

View File

@ -218,7 +218,6 @@ maybe_redirect_mouse_event (XEvent *xevent)
break;
case XI_Motion:
gevent = gdk_event_new (GDK_MOTION_NOTIFY);
gevent->motion.type = GDK_MOTION_NOTIFY;
gevent->motion.window = g_object_ref (gdk_window);
break;
case XI_Enter: