1 # Use proper function (gdk_device_get_state) to get next motion hint
3 # Copyright (C) 2006 - 2007 Nokia Corporation.
4 # This file is distributed under the terms of GNU LGPL license, either version 2
5 # of the License, or (at your option) any later version.
7 diff -ru gtkhtml-3.24.4/gtkhtml/gtkhtml.c gtkhtml-3.9.1.mod/gtkhtml/gtkhtml.c
8 diff -ru gtkhtml-3.24.4/gtkhtml/gtkhtml.c gtkhtml-3.9.1.mod/gtkhtml/gtkhtml.c
9 diff -ru gtkhtml-3.24.4/gtkhtml/gtkhtml.c gtkhtml-3.9.1.mod/gtkhtml/gtkhtml.c
10 diff -ru gtkhtml-3.24.4/gtkhtml/gtkhtml.c gtkhtml-3.9.1.mod/gtkhtml/gtkhtml.c
11 --- gtkhtml-3.24.4/gtkhtml/gtkhtml.c 2006-12-04 12:43:55.000000000 +0200
12 --- gtkhtml-3.24.4/gtkhtml/gtkhtml.c 2006-12-04 12:43:55.000000000 +0200
13 --- gtkhtml-3.24.4/gtkhtml/gtkhtml.c 2006-12-04 12:43:55.000000000 +0200
14 --- gtkhtml-3.24.4/gtkhtml/gtkhtml.c 2006-12-04 12:43:55.000000000 +0200
15 +++ gtkhtml-3.24.4/gtkhtml/gtkhtml.c 2006-12-05 09:09:51.000000000 +0200
16 +++ gtkhtml-3.24.4/gtkhtml/gtkhtml.c 2006-12-05 09:09:51.000000000 +0200
17 +++ gtkhtml-3.24.4/gtkhtml/gtkhtml.c 2006-12-05 09:09:51.000000000 +0200
18 +++ gtkhtml-3.24.4/gtkhtml/gtkhtml.c 2006-12-05 09:09:51.000000000 +0200
20 widget = shift_to_iframe_parent (widget, &x, &y);
22 gdk_window_get_pointer (GTK_LAYOUT (widget)->bin_window, &x, &y, NULL);
24 + gdk_device_get_state (event->device, GTK_LAYOUT (widget)->bin_window, NULL, NULL) ;
26 /* If there is only a small motion from the origin and simple
27 doubleclick is active, abort the motion, otherwise clear simple_dblclick flag */