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

Some way to reparent windows using touch-screen. #53

Open
aspizu opened this issue Oct 5, 2023 · 2 comments
Open

Some way to reparent windows using touch-screen. #53

aspizu opened this issue Oct 5, 2023 · 2 comments

Comments

@aspizu
Copy link

aspizu commented Oct 5, 2023

Most of the mouse functionality works fine with touch-screen but as there's no way
to do a right-click. Reparenting isn't possible.

@phillbush
Copy link
Owner

I can re-use the left button for that.

The left button is currently used to spawn a special command when clicked; the user can use this command to pop up a XMenu dropdown menu, for example. I can assign another behaviour to that button: drag-and-dropping it does reparenting, while a regular click keeps its purpose.

However, that control may feel a bit funky: the button is too small for optimal touch-screen usage. And sometimes you may want to click, but your mouse/stylus slides too much and shod interprets it as a dragging operation; or you may want to drag-and-drop but you do not slide enough for shod to recognize the dragging action. The optimal solution is to have one control per mouse button, avoiding misclicks/misdrags.

@aspizu
Copy link
Author

aspizu commented Oct 10, 2023

How about letting the user configure what all of the mouse buttons do?

shod.menu.left: sh shodmenu
shod.titlebar.left: move
shod.titlebar.right: reparent
shod.close.left = close

Though this might add much complexity.

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

No branches or pull requests

2 participants