]> Pileus Git - ~andy/gtk/commit
GdkDeviceManagerXI2: don't set user_time on ButtonRelease
authorDan Winship <danw@gnome.org>
Mon, 11 Apr 2011 16:13:44 +0000 (12:13 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 12 Apr 2011 16:53:47 +0000 (12:53 -0400)
commit91b52230013c32d3366886a367ad3b1f78c04f47
tree09dfb19ffe81721c488b5d9d76ddd59ea2d9d93e
parent304989291d165bcbe39d4656be1c9a67f4a91717
GdkDeviceManagerXI2: don't set user_time on ButtonRelease

The XI2 device manager was mistakenly setting the window user_time on
both ButtonPress and ButtonRelease, which meant that processes that
tried to launch another process based on the time of a ButtonPress
event would end up always focus-stealing-preventing the new app.

https://bugzilla.gnome.org/show_bug.cgi?id=647275
gdk/x11/gdkdevicemanager-xi2.c