swayfx
swayfx copied to clipboard
Request: better move/resize for touchscreens
Hello,
I have a 2in1 laptop. I'd like to be able to add a floating_modifier button to waybar, so that when in tablet mode I can move/resize windows by touch.
Currently, I can move windows by touching their titlebar, but I'd like to go titlebar-less in future. I can resize by touching and dragging the border, but I'd like to go border-less too!
I am imagining the following:
- A way to toggle
floating_modifierso I can add a waybar button that enters this 'mode' - Then when it's toggled on, 1-finger touch/drag moves windows and 2-finger touch/drag resizes
- Also, physically pressing
floating_modifierand touching the screen doesn't do anything at present, HOWEVER pressingfloating_modifierand using my stylus left/right buttons allows me to move/resize
I hope this makes sense. Let me know if it's an upstream Sway issue and I'll try and suggest it there.
This may be possible with the ipc
As in: presently possible, or can be made possible?
Also, physically pressing floating_modifier and touching the screen doesn't do anything at present, HOWEVER pressing floating_modifier and using my stylus left/right buttons allows me to move/resize
I think this is a sway bug in fact, not a feature request. If it works with a stylus it should be made to work with touch.
In fact I'm not the first to have this issue: https://github.com/swaywm/sway/pull/7544 https://github.com/swaywm/sway/issues/5941