[mutter/wayland] compositor: Kill off an unused cursor variable



commit 4bf6e0ae8c3d8bc4fda472ab13e114256562567e
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Mar 18 17:54:04 2014 -0400

    compositor: Kill off an unused cursor variable

 src/compositor/compositor.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c
index 047e351..c168815 100644
--- a/src/compositor/compositor.c
+++ b/src/compositor/compositor.c
@@ -349,7 +349,6 @@ begin_modal_x11 (MetaScreen       *screen,
   Display        *xdpy        = meta_display_get_xdisplay (display);
   MetaCompScreen *info        = meta_screen_get_compositor_data (screen);
   Window          grab_window = clutter_x11_get_stage_window (CLUTTER_STAGE (info->stage));
-  Cursor          cursor      = None;
   int             result;
   gboolean        pointer_grabbed = FALSE;
   gboolean        keyboard_grabbed = FALSE;
@@ -369,7 +368,7 @@ begin_modal_x11 (MetaScreen       *screen,
                              META_VIRTUAL_CORE_POINTER_ID,
                              grab_window,
                              timestamp,
-                             cursor,
+                             None,
                              XIGrabModeAsync, XIGrabModeAsync,
                              False, /* owner_events */
                              &mask);


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