XLibre Xserver
Go to file
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
Xext xselinux: ignore property hook calls with the new Post access mode bit set. 2009-06-26 17:05:52 -04:00
Xi Xi: check for GetAttr permission when listing or querying devices. 2009-06-23 21:15:27 -04:00
composite Correct some Sun license notices to Sun's standard X11 license format 2009-05-15 11:24:15 -07:00
config config: fix build after XI2 API changes to RemoveDevice. 2009-06-07 20:35:14 +10:00
damageext Fix most remaining deprecated resource lookups. 2009-04-29 01:04:37 -04:00
dbe Fix most remaining deprecated resource lookups. 2009-04-29 01:04:37 -04:00
dix dix: report subpixel coordinates for high-resolution devices 2009-06-29 12:20:49 +10:00
doc doc: Remove mention of Kerberos replay cache from Xserver.1 2009-06-01 15:50:50 -04:00
exa exa: driver pixmaps enabled if either CreatePixmap or CreatePixmap2 present 2009-06-09 09:24:32 +10:00
fb Fix clipping when windows are used as sources 2009-06-18 12:36:11 -04:00
glx GLX: make function static. 2009-06-24 10:41:47 +10:00
hw Cygwin/X: Improve mouse tracking for moving/resizing undecorated windows 2009-06-29 17:54:35 +01:00
include dix: make part of ptrveloc.h internal 2009-06-29 12:20:49 +10:00
m4 Add shave so that we can see the steaming piles of warnings generated. 2009-04-14 10:35:44 -04:00
mi mi: ignore DGA events in ChangeDeviceID 2009-06-18 08:23:30 +10:00
miext Rootless: Use serverClient instead of NullClient 2009-06-06 22:23:56 -07:00
os Clarify use of and need for mffs vs. ffs 2009-06-18 09:49:19 -07:00
randr randr: fix typo in swapped dispatch 2009-06-15 10:10:26 -04:00
record record: use dixLookupResourceByClass instead of LookupIDByClass. 2009-06-18 15:21:28 +10:00
render Fix miComputeCompositeRegion() to follow new clip rules. 2009-06-18 12:36:11 -04:00
test test: fix build error introduced by XINPUT_ABI 7 2009-06-29 13:31:19 +10:00
xfixes Correct some Sun license notices to Sun's standard X11 license format 2009-05-15 11:24:15 -07:00
xkb Xi: Add support for sourceid in the device classes. 2009-06-17 11:21:19 +10:00
.gitignore Add shave so that we can see the steaming piles of warnings generated. 2009-04-14 10:35:44 -04:00
COPYING Correct some Sun license notices to Sun's standard X11 license format 2009-05-15 11:24:15 -07:00
Makefile.am Move contributed m4 to a subdir so we can more easily update contributions. 2009-04-14 10:35:44 -04:00
autogen.sh autogen.sh: Pass --force to autoreconf 2008-07-22 16:55:26 +03:00
configure.ac configure: Provide the --enable/disable-xaa option. 2009-06-24 00:26:06 +03:00
cpprules.in For MANDEFS, also replace __mandir__ for $(mandir) which includes 2006-12-08 15:51:44 -06:00
shave-libtool.in Add shave so that we can see the steaming piles of warnings generated. 2009-04-14 10:35:44 -04:00
shave.in Add shave so that we can see the steaming piles of warnings generated. 2009-04-14 10:35:44 -04:00
xorg-server.m4 Add xorg-server.m4 for driver dependency checking. 2005-11-01 15:01:51 +00:00
xorg-server.pc.in Enable compiling the X Server and modules with hidden symbols by default. 2008-11-28 02:01:57 -02:00