Re: Re: mouse cursor problems

Ove Kaaven <[email protected]>
Newsgroups gmane.comp.emulators.winex.devel
Organization TransGaming Technologies Inc
Message-ID <1076869897.1444.57.camel@renegade>
søn, 15.02.2004 kl. 14.00 skrev Nadav Frum:
> >From the WineX code I see that alloc_device is called when the mouse 
> device is created.  We can set the default cooperative level for this new
> device at this time.  However, we also need a window handle and this 
> window may be unknown or even non-existent at the mouse device creation time.
> It is the absence of a window handle that prompted me to call
> SetCooperativeLevel.  And the cooperative level is not relevant in the absence
> of a window to give it context.

Well, your patch did not do much to improve this. It still passes a NULL
HWND to SetCooperativeLevel. And it's not like the current fallback
SetCooperativeLevel uses when getting a NULL, using GetDesktopWindow(),
is ever going to be unknown, non-existent, or changed. It's basically a
constant value. I don't see any problem with using it in alloc_device.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.