]> Pileus Git - ~andy/gtk/commit
win32: Fix synaptics trackpad issues
authorAlexander Larsson <alexl@redhat.com>
Tue, 1 Nov 2011 21:25:26 +0000 (22:25 +0100)
committerAlexander Larsson <alexl@redhat.com>
Thu, 10 Nov 2011 16:41:09 +0000 (17:41 +0100)
commitd441044569f4fcf4e5f97d3c84056f1f6099d09b
tree4f5f7727b4ed810a34c7bd1bb4e25050a0fad3a6
parent487ace0aca86cb65f1e8987a1e041c527572a2e0
win32: Fix synaptics trackpad issues

The synaptics trackpad driver has some weird behaviour on scroll.
It pops up a window over the mouse pointer (looking like a scrollbar).
This has two problems:
* We get extra enter/leave events for the trackpad window
* We get back the trackpad window when we look for the window
  under the mouse to deliver the mousewheel message.

So, we add some trackpad specific hacks to avoid this (sigh) based
on the trackpad window window class.

This fixes bug #542777 and was partially based on a patch there
from Peter Clifton.
gdk/win32/gdkevents-win32.c