Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: better move/resize for touchscreens #376

Open
cccslater opened this issue Jan 13, 2025 · 3 comments
Open

Request: better move/resize for touchscreens #376

cccslater opened this issue Jan 13, 2025 · 3 comments
Labels
enhancement New feature or request

Comments

@cccslater
Copy link

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_modifier so 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_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 hope this makes sense. Let me know if it's an upstream Sway issue and I'll try and suggest it there.

@cccslater cccslater added the enhancement New feature or request label Jan 13, 2025
@WillPower3309
Copy link
Owner

This may be possible with the ipc

@cccslater
Copy link
Author

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.

@cccslater
Copy link
Author

In fact I'm not the first to have this issue:
swaywm/sway#7544
swaywm/sway#5941

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants