[mutter] events: Remove an overzealous ifdef



commit dbb7b9e85b90a26db914643399617a8dd36553ba
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Sep 16 18:53:30 2014 -0600

    events: Remove an overzealous ifdef

 src/core/events.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/core/events.c b/src/core/events.c
index 6b02898..1c4eae3 100644
--- a/src/core/events.c
+++ b/src/core/events.c
@@ -188,13 +188,11 @@ meta_display_handle_event (MetaDisplay        *display,
     }
 #endif
 
-#ifdef HAVE_WAYLAND
   if (meta_is_wayland_compositor () && event->type == CLUTTER_MOTION)
     {
       MetaCursorTracker *tracker = meta_cursor_tracker_get_for_screen (NULL);
       meta_cursor_tracker_update_position (tracker, event->motion.x, event->motion.y);
     }
-#endif
 
   handle_idletime_for_event (event);
 


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