gtk/gdk
Owen W. Taylor a69285da08 Compress motion synchronized with the paint cycle
When we have pending motion events, instead of delivering them
directly, request the new FLUSH_EVENTS phase of the frame clock.
This allows us to compress repeated motion events sent to the
same window.

In the FLUSH_EVENTS phase, which occur at priority GDK_PRIORITY_EVENTS + 1,
we deliver any pending motion events then turn off event delivery
until the end of the next frame. Turning off event delivery means
that we'll reliably paint the compressed motion events even if more
have arrived.

Add a motion-compression test case which demonstrates behavior when
an application takes too long handle motion events. It is unusable
without this patch but behaves fine with the patch.

https://bugzilla.gnome.org/show_bug.cgi?id=685460
2013-02-14 17:19:49 -05:00
..
broadway broadway: Make /dev/shm names nicer 2013-01-10 23:59:23 +01:00
quartz quartz: retain content view when switching over toplevel. 2013-01-17 14:45:33 +01:00
tests Add more tests for GdkRGBA parsing 2012-01-09 00:31:20 -05:00
wayland wayland: Add support for output device removal 2013-02-14 13:28:07 +00:00
win32 Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
x11 GdkWindowX11: start off with an odd frame-counter value 2013-02-14 17:19:48 -05:00
abicheck.sh Bump the version to 3.0.0 2011-02-10 14:41:02 -05:00
COPYING Change FSF Address 2012-02-27 17:06:11 +00:00
fallback-c89.c Bug 676087-configure.ac: isnan() and isinf() are macros, not functions 2012-05-16 23:55:40 -04:00
gdk.c Bump GLib dependency to 2.35 2012-11-04 13:01:38 -05:00
gdk.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdk.symbols Add new fullscreen symbols 2013-02-01 22:54:19 -05:00
gdkapplaunchcontext.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkapplaunchcontext.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkapplaunchcontextprivate.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkcairo.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkcairo.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkcolor.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkcolor.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkconfig.h.win32 Update gdk/gdkconfig.h.win32 2011-12-30 16:21:38 +08:00
gdkcursor.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkcursor.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkcursorprivate.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkdeprecated.c gdk: Ignore headers for declared functions 2012-10-06 15:55:30 -04:00
gdkdevice.c GdkDevice: Fix an inverted assertion 2012-06-20 22:44:32 -04:00
gdkdevice.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkdevicemanager.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkdevicemanager.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkdevicemanagerprivate.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkdeviceprivate.h Add _gdk_device_get_axis_info 2012-04-03 11:37:41 +02:00
gdkdisplay.c Compress motion synchronized with the paint cycle 2013-02-14 17:19:49 -05:00
gdkdisplay.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkdisplaymanager.c wayland: Prefer X11 backend over Wayland 2012-04-16 18:53:54 +02:00
gdkdisplaymanager.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkdisplaymanagerprivate.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkdisplayprivate.h Compress motion synchronized with the paint cycle 2013-02-14 17:19:49 -05:00
gdkdnd.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkdnd.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkdndprivate.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkenumtypes.c.template gdk/: fully remove gdkalias hacks 2010-07-10 02:21:31 +02:00
gdkenumtypes.h.template Remove remaining single-include guards 2010-06-04 19:40:43 -04:00
gdkevents.c Compress motion synchronized with the paint cycle 2013-02-14 17:19:49 -05:00
gdkevents.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkframeclock.c Compress motion synchronized with the paint cycle 2013-02-14 17:19:49 -05:00
gdkframeclock.h Compress motion synchronized with the paint cycle 2013-02-14 17:19:49 -05:00
gdkframeclockidle.c Compress motion synchronized with the paint cycle 2013-02-14 17:19:49 -05:00
gdkframeclockidle.h Add GdkFrameClock 2013-02-14 17:19:47 -05:00
gdkglobals.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkinternals.h Compress motion synchronized with the paint cycle 2013-02-14 17:19:49 -05:00
gdkintl.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkkeynames.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkkeys.c gdk: fix GI annotation and document for {map,add}_virtual_modifiers 2012-09-10 15:03:25 +02:00
gdkkeys.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkkeysprivate.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkkeysyms-compat.h Regenerate the gdk/gdkkeysyms.h and gdk/gdkkeysyms-compat.h files 2012-04-25 20:29:36 -04:00
gdkkeysyms-update.pl gdk: Fix typo in gdkkeysyms-update.pl 2013-01-18 17:26:28 +01:00
gdkkeysyms.h Regenerate the gdk/gdkkeysyms.h and gdk/gdkkeysyms-compat.h files 2012-04-25 20:29:36 -04:00
gdkkeyuni.c gdk: Ignore headers for declared functions 2012-10-06 15:55:30 -04:00
gdkmain.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkmarshalers.list Bug 631599 - Allow to use arbitrary surfaces for offscreen windows 2010-10-14 13:25:23 +02:00
gdkoffscreenwindow.c gdk: fix the build 2012-05-15 13:27:21 -04:00
gdkpango.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkpango.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkpixbuf-drawable.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkpixbuf.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkprivate.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkproperty.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkrectangle.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkrectangle.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkrgba.c docs: Escape bare '#' in GdkRGBA string definitions 2012-05-20 13:45:05 +01:00
gdkrgba.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkscreen.c gdk: Ignore headers for declared functions 2012-10-06 15:55:30 -04:00
gdkscreen.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkscreenprivate.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkselection.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkselection.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdktestutils.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkthreads.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdktypes.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkversionmacros.h.in Add GDK_VERSION_3_8 2012-10-23 17:36:17 -04:00
gdkvisual.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkvisual.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkvisualprivate.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkwindow.c Compress motion synchronized with the paint cycle 2013-02-14 17:19:49 -05:00
gdkwindow.h Add GdkFrameClock 2013-02-14 17:19:47 -05:00
gdkwindowimpl.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkwindowimpl.h gdk: add gdk_window_set_fullscreen_mode() 2013-01-25 13:16:56 +01:00
gdkx.h Change FSF Address 2012-02-27 17:06:11 +00:00
gen-keyname-table.pl gdk: Make gen-keyname-table.pl work again 2011-10-26 10:36:43 +01:00
keyname-table.h gdk: Update translator comment for "keyboard label" 2012-03-15 16:05:00 +01:00
keynames-translate.txt gdk: Translate keyboard brightness keys 2011-10-26 10:36:43 +01:00
keynames.txt Mark arrow keys as translatable 2006-12-21 05:11:00 +00:00
Makefile.am Add GdkFrameClock 2013-02-14 17:19:47 -05:00
makefile.msc win32: gdk3 resurrection 2011-01-02 13:33:04 +01:00