From 355621b0ab0d69977b991b027ecd480d0e532231 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 8 Jul 2014 11:20:17 -0400 Subject: [PATCH] ui: Remove a superfluous set on emulated motion events This is already set by the gdk_event_new above. --- src/ui/ui.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ui/ui.c b/src/ui/ui.c index 943377d1e..2192a2eab 100644 --- a/src/ui/ui.c +++ b/src/ui/ui.c @@ -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: