Peter Hutterer 87564543d9 Only decrement buttonsDown when the button count is greater than 0.
Device drivers flush their buttons on device init and cause a button down
event to be generated. If we unconditionally decrease the buttons, we won't be
able to ever get a passive device grab.

Format documentation for CheckDeviceGrabs to make it readable.
(cherry picked from commit 3e894974cd)

Conflicts:

	Xi/exevents.c
2007-06-25 09:35:30 +09:30
2007-03-26 10:21:44 -04:00
2007-03-21 02:04:45 +02:00
2006-08-23 14:33:59 +03:00
2005-12-19 16:34:07 +00:00
Description
No description provided
89 MiB
Languages
C 95.4%
Roff 1.1%
Objective-C 0.9%
M4 0.6%
Meson 0.6%
Other 1.3%