RamonUnch / AltSnap

Maintained continuation of Stefan Sundin's AltDrag
GNU General Public License v3.0
2.08k stars 66 forks source link

Option to use `grabbing` cursor while moving windows instead of `pointer` #502

Open sepsol opened 8 months ago

sepsol commented 8 months ago

Or an option to use any cursor using an enum, more numbered options, etc.

image

See https://developer.mozilla.org/en-US/docs/Web/CSS/cursor

RamonUnch commented 8 months ago

The system cursors on Windows are not the same that what is available for a web application. https://learn.microsoft.com/en-us/windows/win32/menurc/about-cursors no grabbing cursor over here...

AltSnap does not add customs cursors for basic movements because they would look out of place for some users depending on the selected theme. So I would prefer to keep it simple and only use the system cursors.

It would be easy to allow a custom cursor for movement via for example setting UseCursor to a larger value and we would keep the Resize cursors untouched.

sepsol commented 8 months ago

Bummer :(

RB490 commented 8 months ago

Possible alternative from that link could be

image

RamonUnch commented 8 months ago

@RB490 You can already select this option with UseCursor=4

RB490 commented 8 months ago

@RamonUnch Would you look at that! Cheers!

sepsol commented 8 months ago

Mine is already set at UseCursor=4, which is better than the default pointer cursor. It still looks similar to the cursor for resizing windows from the center but it is what it is.

RamonUnch commented 8 months ago

Given that there seems to be some significant interest in having a different movement cursors, I guess I will ad the option to specify a custom Cursor. I could include some cursors associated to a theme in AltSnap's folder. and AltSnap would always load the .\Themes\xxx\Move.cur file if. Then you would just the cursor you prefer in your preferred theme folder.

I will come back later with a test build so that you can try for yourself, This is cosmetic, so It is low on my priority list.