gtk+ r17189 - in branches/gtk-2-10: . gdk/win32



Author: tml
Date: 2007-01-19 02:49:41 +0000 (Fri, 19 Jan 2007)
New Revision: 17189
ViewCVS link: http://svn.gnome.org/viewcvs/gtk+?rev=17189&view=rev

Modified:
   branches/gtk-2-10/ChangeLog
   branches/gtk-2-10/gdk/win32/gdkinput-win32.c
Log:
2007-01-19  Robert Oegren  <gtk roboros com>

	Fix for bug #143460 - missed tablet clicks on Windows

	* gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check):
	Request absolute reporting of tablet button state, and cut down
	the packet queue size a bit.
	(_gdk_input_other_event): Change button state handling
	accordingly. Also drop the no longer necessary code that detects
	missed clicks/releases for button 1. The switch to absolute button
	state should prevent missed events for all buttons. Additionally,
	swap button 2 and 3.
	(_gdk_input_grab_pointer): Don't reset button_state, that will only
	cause a new press event as soon as the next tablet packet arrives.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]