sway
sway copied to clipboard
Weird behaviour with seat and cursor
Sway version: 1.7
I was trying to set keyboard shortcut to emulate left click. For reference, this is my reddit post: https://www.reddit.com/r/swaywm/comments/xc8b28/press_cursor_button_by_keyboard/
My test:
Doesn't work: bindsym $mod+n exec swaymsg 'seat "seat0" cursor press button1'
Doesn't work: bindsym Ctrl+n seat "seat0" cursor release button1
Work: bindsym Ctrl+n exec swaymsg 'seat "seat0" cursor press button1'
Work: bindsym Ctrl+n exec swaymsg 'seat - cursor press button1'
I believe they are all supposed to work?
I think I understand part of the problem. It is not possible to left click while holding the meta
key in sway, so bindsym $mod+n exec swaymsg 'seat "seat0" cursor press button1'
doesn't work. Is this intentional?