xserver-multidpi/hw
Jon TURNEY 85614946ba Cygwin/X: Improve mouse tracking for moving/resizing undecorated windows
In -multiwindow mode, tell Windows we wish to capture the mouse when a button
is down.  This causes Windows to continue to send movement events for the mouse
even if the mouse pointer moves outside the window frame.

This helps greatly with undecorated windows which have regions you can grab
to move (e.g. gmplayer, xine control panels) or resize (e.g. Songbird) the
window, as it means the window continues to receive the mouse motion even if the
mouse pointer  moves out of the window (which presumably happens if we don't
manage to update the window fast enough to track the mouse pointer)

Consolidate the multiple instances of the code to start the mouse position
polling timer into a new function winStartMousePolling(), and use that to
restart the polling timer when we release the mouse.

Also, start the timer on WM_SHOW, so that xeyes will track the mouse position
when it is first shown, even if the mouse doesn't enter it's window
(You probably need focus-stealing turned off to see this problem)

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-06-29 17:54:35 +01:00
..
dmx Remove some libXfont leftovers 2009-06-02 13:40:14 -04:00
kdrive input: Add labels to buttons and valuators - ABI_XINPUT_VERSION 7 2009-06-18 14:41:47 +10:00
vfb input: Add labels to buttons and valuators - ABI_XINPUT_VERSION 7 2009-06-18 14:41:47 +10:00
xfree86 EDID: Fix timing class names to match the spec 2009-06-29 11:17:59 -04:00
xnest input: Add labels to buttons and valuators - ABI_XINPUT_VERSION 7 2009-06-18 14:41:47 +10:00
xquartz XQuartz: Don't leave zombied processes at startup 2009-06-27 18:26:08 -07:00
xwin Cygwin/X: Improve mouse tracking for moving/resizing undecorated windows 2009-06-29 17:54:35 +01:00
Makefile.am Remove xgl. 2008-06-12 16:00:50 -04:00