Author: rhult
Date: Fri Feb  8 19:14:07 2008
New Revision: 19500
URL: http://svn.gnome.org/viewvc/gtk+?rev=19500&view=rev

Log:
2008-02-08  Richard Hult  <[EMAIL PROTECTED]>

        Merge from trunk:

        * 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:
   branches/gtk-2-12/ChangeLog
   branches/gtk-2-12/gdk/quartz/gdkevents-quartz.c

Modified: branches/gtk-2-12/gdk/quartz/gdkevents-quartz.c
==============================================================================
--- branches/gtk-2-12/gdk/quartz/gdkevents-quartz.c     (original)
+++ branches/gtk-2-12/gdk/quartz/gdkevents-quartz.c     Fri Feb  8 19:14:07 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.

Reply via email to