compositor: Kill off an unused cursor variable
This commit is contained in:
parent
97872e70a5
commit
4bf6e0ae8c
@ -349,7 +349,6 @@ begin_modal_x11 (MetaScreen *screen,
|
|||||||
Display *xdpy = meta_display_get_xdisplay (display);
|
Display *xdpy = meta_display_get_xdisplay (display);
|
||||||
MetaCompScreen *info = meta_screen_get_compositor_data (screen);
|
MetaCompScreen *info = meta_screen_get_compositor_data (screen);
|
||||||
Window grab_window = clutter_x11_get_stage_window (CLUTTER_STAGE (info->stage));
|
Window grab_window = clutter_x11_get_stage_window (CLUTTER_STAGE (info->stage));
|
||||||
Cursor cursor = None;
|
|
||||||
int result;
|
int result;
|
||||||
gboolean pointer_grabbed = FALSE;
|
gboolean pointer_grabbed = FALSE;
|
||||||
gboolean keyboard_grabbed = FALSE;
|
gboolean keyboard_grabbed = FALSE;
|
||||||
@ -369,7 +368,7 @@ begin_modal_x11 (MetaScreen *screen,
|
|||||||
META_VIRTUAL_CORE_POINTER_ID,
|
META_VIRTUAL_CORE_POINTER_ID,
|
||||||
grab_window,
|
grab_window,
|
||||||
timestamp,
|
timestamp,
|
||||||
cursor,
|
None,
|
||||||
XIGrabModeAsync, XIGrabModeAsync,
|
XIGrabModeAsync, XIGrabModeAsync,
|
||||||
False, /* owner_events */
|
False, /* owner_events */
|
||||||
&mask);
|
&mask);
|
||||||
|
Loading…
Reference in New Issue
Block a user