gtk+ r18316 - in trunk: . gdk/quartz



Author: rhult
Date: 2007-06-30 22:50:06 +0100 (Sat, 30 Jun 2007)
New Revision: 18316
ViewCVS link: http://svn.gnome.org/viewcvs/gtk+?rev=18316&view=rev

Modified:
   trunk/ChangeLog
   trunk/gdk/quartz/gdkevents-quartz.c
Log:
2007-06-30  Richard Hult  <richard imendio com>

	Continue the event handling cleanup:

	* gdk/quartz/gdkevents-quartz.c: (synthesize_crossing_events):
	Don't do anything if the old and new windows are the same,
	simplifies the callers.
	(find_mouse_window_for_ns_event): Always return a window (root
	instead of NULL). Remove unneccessary check for the current mouse
	window being NULL, that was a workaround for a now fixed
	bug. Convert to root coordinates if we don't find a window.
	(synthesize_crossing_events_for_ns_event): Simplify and add
	comment.





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