swaywm / sway

i3-compatible Wayland compositor
https://swaywm.org
MIT License
14.33k stars 1.09k forks source link

bindsym --release is not masked by LMB/RMB+mod floating_modifier #8162

Open jlo62 opened 3 months ago

jlo62 commented 3 months ago

Drag floating windows: Mod4 + leftmouse

floating_modifier Mod4 normal



- **Description:**

`bindsym --no-repeat --release Super_L exec sirula` will start sirula like windows does. It will be masked when a other keybind is pressed. (see #8148 (closed) for info).\
However, this will not be masked by moving/resizing windows with LMB/RMB + $mod. This cause my launcher to start every time after I move a window around (This is similar to #7863 (closed) ).
emersion commented 3 months ago

Hm, we probably want to check for floating_modifier in handle_key_event() (maybe it would make sense to put in keyboard_execute_compositor_binding()?).

emersion commented 3 months ago

BTW, how does i3 behave in this situation?