From 4bf6e0ae8c3d8bc4fda472ab13e114256562567e Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 18 Mar 2014 17:54:04 -0400 Subject: [PATCH] compositor: Kill off an unused cursor variable --- src/compositor/compositor.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c index 047e351e4..c16881579 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);