From 54d2218ac23cbcbf5805e62b933d52c4e83cd545 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Fri, 15 Aug 2014 13:46:09 -0400 Subject: [PATCH] workspace: Simplify some more grab op code --- src/core/workspace.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/workspace.c b/src/core/workspace.c index ea999bc3f..66bda4659 100644 --- a/src/core/workspace.c +++ b/src/core/workspace.c @@ -579,8 +579,7 @@ meta_workspace_activate_with_focus (MetaWorkspace *workspace, return; move_window = NULL; - if (workspace->screen->display->grab_op == META_GRAB_OP_MOVING || - workspace->screen->display->grab_op == META_GRAB_OP_KEYBOARD_MOVING) + if (meta_grab_op_is_moving (workspace->screen->display->grab_op) move_window = workspace->screen->display->grab_window; if (move_window != NULL)