mirror of
https://github.com/brl/mutter.git
synced 2025-07-20 08:54:13 +00:00
edge-resistance: Replace booleans with flags parameter
Multiple boolean parameters don't make for great API, so before we add another one, replace them with a single flag parameter. https://bugzilla.gnome.org/show_bug.cgi?id=679609
This commit is contained in:
@ -1903,7 +1903,7 @@ meta_display_begin_grab_op (MetaDisplay *display,
|
||||
display->grab_latest_motion_x = root_x;
|
||||
display->grab_latest_motion_y = root_y;
|
||||
display->grab_last_moveresize_time = 0;
|
||||
display->grab_last_user_action_was_snap = FALSE;
|
||||
display->grab_last_edge_resistance_flags = META_EDGE_RESISTANCE_DEFAULT;
|
||||
display->grab_frame_action = frame_action;
|
||||
|
||||
meta_display_update_cursor (display);
|
||||
|
Reference in New Issue
Block a user