mirror of
https://github.com/swaywm/sway.git
synced 2025-11-23 06:59:48 -05:00
move workspace from dead output to other output
This commit is contained in:
parent
ef31ee5cf6
commit
d115335951
3 changed files with 21 additions and 4 deletions
|
|
@ -169,6 +169,11 @@ static void pointer_mode_set_left(void) {
|
|||
pointer_state.mode = M_DRAGGING | M_FLOATING;
|
||||
} else {
|
||||
pointer_state.mode = M_DRAGGING | M_TILING;
|
||||
// unset mode if we cant drag tile
|
||||
if (initial.ptr->parent->type == C_WORKSPACE &&
|
||||
initial.ptr->parent->children->length == 1) {
|
||||
pointer_state.mode = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue