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

Feature Request: Mouse Drag Events #882

Closed
ghost opened this issue Aug 26, 2023 · 1 comment
Closed

Feature Request: Mouse Drag Events #882

ghost opened this issue Aug 26, 2023 · 1 comment
Labels
type:new-feature Brand new feature not yet present in fvwm3

Comments

@ghost
Copy link

ghost commented Aug 26, 2023

Describe the new feature

I don't know who was the first to do it, but Microsoft implemented a feature they called "Aero Snap" for Windows 7 (now just called "Snap"). Basically if you drag a window to an edge it resizes it 50%.

https://www.youtube.com/watch?v=XVV-KG3q7gM

Though there's no reason to limit this to just resizing windows, but that is primarily why I want it.

How might fvwm3 need to change?

  • Non-technical thoughts about the impact this will have in fvwm3, what
    might need to change, and whether this impacts backwards-compatability.

This would not impact backwards compatibility as I think it requires entirely new features.

Can this be achieved through scripting?

I would imagine you can do something like:

Mouse 1 1 A + cursor_has_moved + cursor__touching_pixels 0x1080+100+0 function_to_do.

  • Is a proof-of-concept available externally through scripting fvwm3?

I don't think it's possible, but I'm not strong in the ways of fvwm.

  • Does this functionality exist elsewhere in other WMs, if so, which?

Windows 7+ (much more complicated in Win11), Metacity, Kwin, JWM I think.

@ghost ghost added the type:new-feature Brand new feature not yet present in fvwm3 label Aug 26, 2023
@ThomasAdam
Copy link
Member

You can use EdgeCommand to emulate something similar.

@ThomasAdam ThomasAdam closed this as not planned Won't fix, can't repro, duplicate, stale Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:new-feature Brand new feature not yet present in fvwm3
Projects
None yet
Development

No branches or pull requests

1 participant