mirror of
https://github.com/swaywm/sway.git
synced 2025-11-07 13:29:56 -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
|
|
@ -424,8 +424,7 @@ static bool handle_pointer_button(wlc_handle view, uint32_t time, const struct w
|
|||
}
|
||||
|
||||
// set pointer mode
|
||||
pointer_mode_set(button,
|
||||
(modifiers->mods & config->floating_mod) == config->floating_mod);
|
||||
pointer_mode_set(button, !(modifiers->mods ^ config->floating_mod));
|
||||
|
||||
// Return if mode has been set
|
||||
if (pointer_state.mode) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue