Author: rhult Date: Fri Feb 8 19:08:40 2008 New Revision: 19499 URL: http://svn.gnome.org/viewvc/gtk+?rev=19499&view=rev
Log: 2008-02-08 Richard Hult <[EMAIL PROTECTED]> * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the delta from the NSEvent for now, generating multiple scroll events results in a lot of events getting queued up and things get really slow. Modified: trunk/ChangeLog trunk/gdk/quartz/gdkevents-quartz.c Modified: trunk/gdk/quartz/gdkevents-quartz.c ============================================================================== --- trunk/gdk/quartz/gdkevents-quartz.c (original) +++ trunk/gdk/quartz/gdkevents-quartz.c Fri Feb 8 19:08:40 2008 @@ -1781,6 +1781,9 @@ event = create_scroll_event (window, nsevent, direction); append_event (event); dy--; + + /* Ignore the delta for now, things get too slow when the events queue up. */ + break; } /* Now do x events */ @@ -1797,6 +1800,9 @@ event = create_scroll_event (window, nsevent, direction); append_event (event); dx--; + + /* Ignore the delta for now, things get too slow when the events queue up. */ + break; } } _______________________________________________ SVN-commits-list mailing list (read only) http://mail.gnome.org/mailman/listinfo/svn-commits-list Want to limit the commits to a few modules? Go to above URL, log in to edit your options and select the modules ('topics') you want. Module maintainer? It is possible to set the reply-to to your development mailing list. Email [EMAIL PROTECTED] if interested.