mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01:00
fixed
This commit is contained in:
parent
6cc29ebbf5
commit
269d6ba4ea
1 changed files with 1 additions and 1 deletions
|
@ -319,7 +319,7 @@ static bool handle_key(wlc_handle view, uint32_t time, const struct wlc_modifier
|
||||||
sway_log(L_DEBUG, "modifier %x: state %d: key %d, sym: %d",
|
sway_log(L_DEBUG, "modifier %x: state %d: key %d, sym: %d",
|
||||||
modifiers->mods, state, key, sym);
|
modifiers->mods, state, key, sym);
|
||||||
|
|
||||||
if ((modifiers->mods & config->floating_mod) && (dragging || resizing)) {
|
if (state == WLC_KEY_STATE_PRESSED && (dragging || resizing)) {
|
||||||
reset_floating(get_focused_view(&root_container));
|
reset_floating(get_focused_view(&root_container));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue