display: Simplify yet even more grab op code

This commit is contained in:
Jasper St. Pierre 2014-08-15 13:46:32 -04:00
parent 54d2218ac2
commit c687cf9db6

View File

@ -1784,7 +1784,7 @@ meta_display_begin_grab_op (MetaDisplay *display,
return FALSE; return FALSE;
} }
if (meta_grab_op_is_moving (op) || meta_grab_op_is_resizing (op)) if (meta_grab_op_is_moving_or_resizing (op))
{ {
if (meta_prefs_get_raise_on_click ()) if (meta_prefs_get_raise_on_click ())
meta_window_raise (window); meta_window_raise (window);