]> Pileus Git - ~andy/gtk/commit
bgo#529908 - Sanitize handling of motion events in GtkNotebook
authorStanislav Brabec <sbrabec@suse.cz>
Tue, 23 Jun 2009 19:05:32 +0000 (14:05 -0500)
committerFederico Mena Quintero <federico@novell.com>
Tue, 23 Jun 2009 19:36:22 +0000 (14:36 -0500)
commita39b2dcee44d747c0803c0913fcaa19d1b681ad4
tree639e277f5394a187c23dfedca2faef0ba7e7d63b
parentb436f5b8a3c8ad0468d2420895fa97dc7c711969
bgo#529908 - Sanitize handling of motion events in GtkNotebook

GtkNotebook used gdk_window_get_pointer() incorrectly, as it already
had coordinates from various GdkEvents.  Using get_pointer() means
that you get pointer positions *after* the event has happened, which
leads to visual out-of-sync results, or inadvertently detached tabs if
you click on them while your machine is being slow.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
gtk/gtknotebook.c