display: Rename meta_grab_op_is_mouse to is_moving_or_resizing

is_mouse actually checks for all combinations of moving/resizing
grab ops, which is quite confusing. Just rename it.
This commit is contained in:
Jasper St. Pierre
2014-04-20 11:43:10 -04:00
parent beca90a689
commit d09116ebce
4 changed files with 12 additions and 36 deletions

View File

@ -358,8 +358,8 @@ sync_focus_surface (MetaWaylandPointer *pointer)
MetaDisplay *display = meta_get_display ();
MetaWaylandSurface *focus_surface;
/* Don't update the focus surface while we have a special grab. */
if (meta_grab_op_is_mouse (display->grab_op))
/* Don't update the focus surface while we have a move/resize grab. */
if (meta_grab_op_is_moving_or_resizing (display->grab_op))
return;
if (meta_grab_op_should_block_wayland (display->grab_op))