mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
workspace: Simplify some more grab op code
This commit is contained in:
parent
471e6b9e13
commit
54d2218ac2
@ -579,8 +579,7 @@ meta_workspace_activate_with_focus (MetaWorkspace *workspace,
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
move_window = NULL;
|
move_window = NULL;
|
||||||
if (workspace->screen->display->grab_op == META_GRAB_OP_MOVING ||
|
if (meta_grab_op_is_moving (workspace->screen->display->grab_op)
|
||||||
workspace->screen->display->grab_op == META_GRAB_OP_KEYBOARD_MOVING)
|
|
||||||
move_window = workspace->screen->display->grab_window;
|
move_window = workspace->screen->display->grab_window;
|
||||||
|
|
||||||
if (move_window != NULL)
|
if (move_window != NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user