reenabled button_release events for xinput devices. (#113948)

2003-06-03  Michael Natterer  <mitch@gimp.org>

	* gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events):
	reenabled button_release events for xinput devices. (#113948)
This commit is contained in:
Michael Natterer 2003-06-03 18:47:20 +00:00 committed by Sven Neumann
parent 6e8aa0a124
commit ace98abaaa
6 changed files with 43 additions and 11 deletions

View File

@ -1,3 +1,8 @@
2003-06-03 Michael Natterer <mitch@gimp.org>
* gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events):
reenabled button_release events for xinput devices. (#113948)
2003-06-03 Christian Rose <menthos@menthos.com>
* configure.in: Added "li" to ALL_LINGUAS.
@ -23,8 +28,8 @@ Mon Jun 2 18:58:54 2003 Owen Taylor <otaylor@redhat.com>
an example to the docs. (#98427)
2003-05-30 Murray Cumming <murrayc@usa.net>
* gtk/gtkalignment.[h|c]: Added 4-sided padding as properties with
* gtk/gtkalignment.[h|c]: Added 4-sided padding as properties with
gtk_alignment_get_padding() and gtk_aligment_set_padding(). This
uses the new private data system - see g_type_class_add_private() in
gtk_alignment_class_init() and the use of GTK_ALIGNMENT_GET_PRIVATE().

View File

@ -1,3 +1,8 @@
2003-06-03 Michael Natterer <mitch@gimp.org>
* gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events):
reenabled button_release events for xinput devices. (#113948)
2003-06-03 Christian Rose <menthos@menthos.com>
* configure.in: Added "li" to ALL_LINGUAS.
@ -23,8 +28,8 @@ Mon Jun 2 18:58:54 2003 Owen Taylor <otaylor@redhat.com>
an example to the docs. (#98427)
2003-05-30 Murray Cumming <murrayc@usa.net>
* gtk/gtkalignment.[h|c]: Added 4-sided padding as properties with
* gtk/gtkalignment.[h|c]: Added 4-sided padding as properties with
gtk_alignment_get_padding() and gtk_aligment_set_padding(). This
uses the new private data system - see g_type_class_add_private() in
gtk_alignment_class_init() and the use of GTK_ALIGNMENT_GET_PRIVATE().

View File

@ -1,3 +1,8 @@
2003-06-03 Michael Natterer <mitch@gimp.org>
* gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events):
reenabled button_release events for xinput devices. (#113948)
2003-06-03 Christian Rose <menthos@menthos.com>
* configure.in: Added "li" to ALL_LINGUAS.
@ -23,8 +28,8 @@ Mon Jun 2 18:58:54 2003 Owen Taylor <otaylor@redhat.com>
an example to the docs. (#98427)
2003-05-30 Murray Cumming <murrayc@usa.net>
* gtk/gtkalignment.[h|c]: Added 4-sided padding as properties with
* gtk/gtkalignment.[h|c]: Added 4-sided padding as properties with
gtk_alignment_get_padding() and gtk_aligment_set_padding(). This
uses the new private data system - see g_type_class_add_private() in
gtk_alignment_class_init() and the use of GTK_ALIGNMENT_GET_PRIVATE().

View File

@ -1,3 +1,8 @@
2003-06-03 Michael Natterer <mitch@gimp.org>
* gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events):
reenabled button_release events for xinput devices. (#113948)
2003-06-03 Christian Rose <menthos@menthos.com>
* configure.in: Added "li" to ALL_LINGUAS.
@ -23,8 +28,8 @@ Mon Jun 2 18:58:54 2003 Owen Taylor <otaylor@redhat.com>
an example to the docs. (#98427)
2003-05-30 Murray Cumming <murrayc@usa.net>
* gtk/gtkalignment.[h|c]: Added 4-sided padding as properties with
* gtk/gtkalignment.[h|c]: Added 4-sided padding as properties with
gtk_alignment_get_padding() and gtk_aligment_set_padding(). This
uses the new private data system - see g_type_class_add_private() in
gtk_alignment_class_init() and the use of GTK_ALIGNMENT_GET_PRIVATE().

View File

@ -1,3 +1,8 @@
2003-06-03 Michael Natterer <mitch@gimp.org>
* gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events):
reenabled button_release events for xinput devices. (#113948)
2003-06-03 Christian Rose <menthos@menthos.com>
* configure.in: Added "li" to ALL_LINGUAS.
@ -23,8 +28,8 @@ Mon Jun 2 18:58:54 2003 Owen Taylor <otaylor@redhat.com>
an example to the docs. (#98427)
2003-05-30 Murray Cumming <murrayc@usa.net>
* gtk/gtkalignment.[h|c]: Added 4-sided padding as properties with
* gtk/gtkalignment.[h|c]: Added 4-sided padding as properties with
gtk_alignment_get_padding() and gtk_aligment_set_padding(). This
uses the new private data system - see g_type_class_add_private() in
gtk_alignment_class_init() and the use of GTK_ALIGNMENT_GET_PRIVATE().

View File

@ -267,7 +267,7 @@ _gdk_input_common_find_events(GdkWindow *window,
XEventClass class;
i = 0;
if (mask & GDK_BUTTON_PRESS_MASK || mask & GDK_BUTTON_RELEASE_MASK)
if (mask & GDK_BUTTON_PRESS_MASK)
{
DeviceButtonPress (gdkdev->xdevice, gdkdev->buttonpress_type,
class);
@ -277,6 +277,13 @@ _gdk_input_common_find_events(GdkWindow *window,
if (class != 0)
classes[i++] = class;
}
if (mask & GDK_BUTTON_RELEASE_MASK)
{
DeviceButtonRelease (gdkdev->xdevice, gdkdev->buttonrelease_type,
class);
if (class != 0)
classes[i++] = class;
}
if (mask & GDK_POINTER_MOTION_MASK)
{
DeviceMotionNotify (gdkdev->xdevice, gdkdev->motionnotify_type, class);