AltSnap icon indicating copy to clipboard operation
AltSnap copied to clipboard

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

Open sepsol opened this issue 1 year ago • 7 comments
trafficstars

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

sepsol avatar Jan 02 '24 23:01 sepsol

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.

RamonUnch avatar Jan 03 '24 09:01 RamonUnch

Bummer :(

sepsol avatar Jan 03 '24 20:01 sepsol

Possible alternative from that link could be

image

RB490 avatar Jan 06 '24 10:01 RB490

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

RamonUnch avatar Jan 06 '24 20:01 RamonUnch

@RamonUnch Would you look at that! Cheers!

RB490 avatar Jan 06 '24 20:01 RB490

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.

sepsol avatar Jan 06 '24 23:01 sepsol

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.

RamonUnch avatar Jan 07 '24 08:01 RamonUnch