gtk3/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
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
COPYING
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
gdk.symbols Add new fullscreen symbols 2013-02-01 22:54:19 -05:00
gdkapplaunchcontext.c
gdkapplaunchcontext.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkapplaunchcontextprivate.h
gdkcairo.c
gdkcairo.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkcolor.c
gdkcolor.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkconfig.h.win32
gdkcursor.c
gdkcursor.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkcursorprivate.h
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
gdkdevicemanager.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkdevicemanagerprivate.h
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
gdkdisplayprivate.h Compress motion synchronized with the paint cycle 2013-02-14 17:19:49 -05:00
gdkdnd.c
gdkdnd.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkdndprivate.h
gdkenumtypes.c.template
gdkenumtypes.h.template
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
gdkinternals.h Compress motion synchronized with the paint cycle 2013-02-14 17:19:49 -05:00
gdkintl.h
gdkkeynames.c
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
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
gdkoffscreenwindow.c gdk: fix the build 2012-05-15 13:27:21 -04:00
gdkpango.c
gdkpango.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkpixbuf-drawable.c
gdkpixbuf.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkprivate.h
gdkproperty.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkrectangle.c
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
gdkselection.c
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
gdkvisual.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkvisualprivate.h
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
gdkwindowimpl.h gdk: add gdk_window_set_fullscreen_mode() 2013-01-25 13:16:56 +01:00
gdkx.h
gen-keyname-table.pl
keyname-table.h
keynames-translate.txt
keynames.txt
Makefile.am Add GdkFrameClock 2013-02-14 17:19:47 -05:00
makefile.msc