[haiku-development] Re: How to extend cursor outside application window
- From: looncraz@xxxxxxxxxxxx
- To: haiku-development@xxxxxxxxxxxxx
- Date: Wed, 04 Jan 2017 01:28:28 +0000
On 2017-01-03 19:48, Adrien Destugues wrote:
On Tue, Jan 03, 2017 at 11:31:27AM -0800, John Scipione wrote:
For the curious, the application that I'm trying to do this in is
Deskbar. I'm setting the cursor while adjusting Deskbar's width in
vertical mode. It's not essential, but it would be nice to have.
Shouldn't this be handled at the decorator level instead? Similar to
ctrl+alt+right-drag to resize a window? That seem to work fine even
outside the window, can you try to use the same codepath?
Personally, I think having an application manage that for something like
this would potentially problematic (resulting in a rare, but annoying,
stuck cursor issue). This seems like something the system should
support - holding the application-set cursor for dragging (if a drag
message is set and the app has a custom cursor). Of course, if the
cursor travels over another application which wishes to change it that
should still be honored.
It just seems like a benefit to UI feel to me.
Other related posts: