mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00: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;
|
||||
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user