gtk2/gdk
Carlos Garnacho 77b8495bc4 x11: Query pointer devices' scroll valuators on toplevel enter events
We used to "invalidate" scroll valuators, so the next scroll event could
be used as the base for the next scroll deltas. This has the inconvenience
that it invariably consumes the first event received after enter and,
due to interactions with WM overeager passive button grabs, there's a
possibility we don't scroll at all if we receive interleaved "smooth
scroll" XI_Motion events and XI_Enter events (Normally triggered by regular
scroll wheels in mice).

In order to fix this, and at the expense of some sync-call overhead on
XI_Enter events (one XIQueryDevice call per slave device), query the
current scroll valuator state for all the slaves of the entered pointer,
so we do know beforehand the right base values. If new devices are plugged
while the pointer is on top of the client, the initialized scroll values
will match the valuators'.

https://bugzilla.gnome.org/show_bug.cgi?id=750994
https://bugzilla.gnome.org/show_bug.cgi?id=750870
2015-07-01 19:40:09 +02:00
..
broadway broadway: Fix memleak in error case 2015-07-01 07:41:13 -07:00
deprecated gdkcolor.h: Use GDK_DEPRECATED_IN_3_14_FOR() throughout 2015-04-17 11:16:30 -05:00
mir mir: fix toggling between maximized and restored 2015-06-23 13:17:28 -04:00
quartz Implemented most of the GDK named cursors on Mac OS X. 2015-05-16 17:11:44 -04:00
wayland wayland: Return the right type atom on gdk_selection_property_get() 2015-06-29 18:39:33 +02:00
win32 GDK: Add cursor theme support to W32 backend 2015-05-20 08:42:24 +00:00
x11 x11: Query pointer devices' scroll valuators on toplevel enter events 2015-07-01 19:40:09 +02:00
COPYING
fallback-c89.c
gdk-autocleanup.h gdk: Add support for g_autoptr() 2015-02-02 09:28:22 +01:00
gdk-private.c gdk: Make debug-updates a per-display setting 2014-11-10 15:23:14 -05:00
gdk-private.h gdk: Make debug-updates a per-display setting 2014-11-10 15:23:14 -05:00
gdk.c Allow overriding WM_CLASS from the command line 2015-05-10 22:40:37 -04:00
gdk.h gdk: Add support for g_autoptr() 2015-02-02 09:28:22 +01:00
gdkapplaunchcontext.c
gdkapplaunchcontext.h
gdkapplaunchcontextprivate.h
gdkcairo.c gdkcairo: Bail if surface is in error 2015-02-25 01:55:28 +01:00
gdkcairo.h gdk: Add support for OpenGL 2014-10-13 10:43:31 -04:00
gdkconfig.h.win32
gdkconfig.h.win32_broadway
gdkcursor.c docs: Show less ugly X cursors 2015-05-08 14:21:11 -04:00
gdkcursor.h Update docs 2015-05-08 13:34:25 -04:00
gdkcursorprivate.h
gdkdeprecated.c
gdkdevice.c device: Add property/getters for vendor/product identifiers 2015-01-19 15:09:19 +01:00
gdkdevice.h device: Add property/getters for vendor/product identifiers 2015-01-19 15:09:19 +01:00
gdkdevicemanager.c gdk: Document the behavior of device grabs on slave devices 2014-07-21 22:16:05 +02:00
gdkdevicemanager.h
gdkdevicemanagerprivate.h
gdkdeviceprivate.h device: Add property/getters for vendor/product identifiers 2015-01-19 15:09:19 +01:00
gdkdisplay.c gdk: Make debug-updates a per-display setting 2014-11-10 15:23:14 -05:00
gdkdisplay.h Make global GDK libgtk_only functions more private 2014-11-08 00:20:15 -05:00
gdkdisplaymanager.c Prefer the Wayland backend 2015-01-17 01:03:10 -05:00
gdkdisplaymanager.h
gdkdisplaymanagerprivate.h
gdkdisplayprivate.h gdk: Make debug-updates a per-display setting 2014-11-10 15:23:14 -05:00
gdkdnd.c gdk: Remove check for source window 2014-09-01 19:17:53 +02:00
gdkdnd.h gdk: Add GDK_DRAG_PROTO_WAYLAND 2014-09-01 19:17:53 +02:00
gdkdndprivate.h
gdkenumtypes.c.template
gdkenumtypes.h.template Fix some oversights with header guards 2014-12-08 19:31:56 -05:00
gdkevents.c Fix an ordering issue in event destruction 2014-11-01 14:44:03 -04:00
gdkevents.h Drop GDK_MULTIHEAD_SAFE 2014-06-11 21:55:15 -04:00
gdkframeclock.c
gdkframeclock.h Fix some oversights with header guards 2014-12-08 19:31:56 -05:00
gdkframeclockidle.c
gdkframeclockidle.h GdkFrameClockIdle: Add a missing declaration 2014-09-05 20:44:22 -04:00
gdkframeclockprivate.h
gdkframetimings.c
gdkframetimings.h Fix some oversights with header guards 2014-12-08 19:31:56 -05:00
gdkgl.c Fix some clang warnings 2015-03-22 14:40:57 -04:00
gdkglcontext.c gl: Warn the user if they request a GL context version less than 3.2 2015-03-06 14:02:55 +01:00
gdkglcontext.h Remove GdkGLProfile 2015-02-12 17:51:31 +00:00
gdkglcontextprivate.h gl: Drop GdkGLContextClass.upload_texture() 2015-02-09 19:10:31 +00:00
gdkglobals.c Add GDK_GL env var and GdkGLFlags 2014-11-06 12:24:43 +01:00
gdkinternals.h gdk: Add gdk_window_set_pass_through 2015-06-15 10:56:45 +02:00
gdkintl.h
gdkkeynames.c
gdkkeys.c gdkkeys: Add support to _get_scroll_lock_state() 2015-04-27 20:07:52 -03:00
gdkkeys.h gdkkeys: Add support to _get_scroll_lock_state() 2015-04-27 20:07:52 -03:00
gdkkeysprivate.h gdkkeys: Add support to _get_scroll_lock_state() 2015-04-27 20:07:52 -03:00
gdkkeysyms-compat.h
gdkkeysyms-update.pl
gdkkeysyms.h
gdkkeyuni.c
gdkmain.h Make global GDK libgtk_only functions more private 2014-11-08 00:20:15 -05:00
gdkmarshalers.list
gdkoffscreenwindow.c gdk: don't segfault on beep with offscreen window 2015-04-27 06:26:52 -04:00
gdkpango.c
gdkpango.h Drop GDK_MULTIHEAD_SAFE 2014-06-11 21:55:15 -04:00
gdkpixbuf-drawable.c
gdkpixbuf.h
gdkprivate.h
gdkproperty.c Trivial formatting fix 2014-08-30 00:53:21 -04:00
gdkproperty.h
gdkrectangle.c GtkPopover:pointing-to: GdkRectangle instead of cairo_rectangle_int_t 2015-04-21 09:05:26 +02:00
gdkrectangle.h
gdkrgba.c gdk_rgba_parse : do not segfault on null string 2014-09-28 21:18:10 +02:00
gdkrgba.h
gdkscreen.c Improve workarea documentation 2014-09-24 20:34:16 -04:00
gdkscreen.h
gdkscreenprivate.h Handle resolution changes in the GDK backend code 2014-07-13 15:35:23 -04:00
gdkselection.c
gdkselection.h Drop GDK_MULTIHEAD_SAFE 2014-06-11 21:55:15 -04:00
gdktestutils.h
gdkthreads.h
gdktypes.h gdk: define GdkRectangle structure for introspection scanning 2015-05-08 11:47:51 +01:00
gdkversionmacros.h.in Start 3.17 development 2015-03-22 02:10:23 -04:00
gdkvisual.c Small doc improvement 2014-09-07 17:14:37 -04:00
gdkvisual.h Drop GDK_MULTIHEAD_SAFE 2014-06-11 21:55:15 -04:00
gdkvisualprivate.h
gdkwindow.c Fix up doc comments 2015-06-23 17:27:42 -04:00
gdkwindow.h Fix up doc comments 2015-06-23 17:27:42 -04:00
gdkwindowimpl.c gdkwindow: Provide a default implementation of process_updates_recurse 2014-06-22 10:20:50 -04:00
gdkwindowimpl.h gl: Drop profile for gdk_window_create_gl_context() 2015-02-12 12:34:28 +00:00
gdkx.h
gen-keyname-table.pl
keyname-table.h
keynames-translate.txt
keynames.txt
Makefile.am gdk: Add support for g_autoptr() 2015-02-02 09:28:22 +01:00
makefile.msc