display: Ignore the modmask passed into meta_display_begin_grab_op

A careful analysis of mutter's codebase shows that nothing actually
passes anything but 0 to this. gnome-shell has one instance, but it's
most likely a mistake.

Remove the grab_mask field and the one place in keybindings.c that uses it.

The parameter to begin_grab_op is left in for API compatibility reasons.
This commit is contained in:
Jasper St. Pierre
2014-04-07 17:22:55 -04:00
parent b0ea0afd2f
commit 42bcad6549
3 changed files with 2 additions and 4 deletions

View File

@ -196,7 +196,6 @@ struct _MetaDisplay
int grab_tile_monitor_number;
int grab_latest_motion_x;
int grab_latest_motion_y;
gulong grab_mask;
guint grab_have_pointer : 1;
guint grab_have_keyboard : 1;
guint grab_frame_action : 1;