[maemo-commits] [maemo-commits] r8436 - in projects/haf/trunk/gtk+: . gdk/x11
From: www-data at stage.maemo.org www-data at stage.maemo.orgDate: Wed Nov 29 10:56:22 EET 2006
- Previous message: [maemo-commits] r8435 - projects/haf/branches/hildon-libs
- Next message: [maemo-commits] r8437 - projects/haf/trunk/gtk+/debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: tko Date: 2006-11-29 10:56:21 +0200 (Wed, 29 Nov 2006) New Revision: 8436 Modified: projects/haf/trunk/gtk+/ChangeLog projects/haf/trunk/gtk+/gdk/x11/gdkinput-x11.c Log: NB#48648: synthesize GDK_2BUTTON_PRESS also with extension events enabled 2006-11-28 Tommi Komulainen <tommi.komulainen at nokia.com> * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): Call _gdk_event_button_generate to get GDK_2BUTTON_PRESS events properly synthesized. NB#48648 Modified: projects/haf/trunk/gtk+/ChangeLog =================================================================== --- projects/haf/trunk/gtk+/ChangeLog 2006-11-29 08:46:57 UTC (rev 8435) +++ projects/haf/trunk/gtk+/ChangeLog 2006-11-29 08:56:21 UTC (rev 8436) @@ -1,5 +1,11 @@ 2006-11-28 Tommi Komulainen <tommi.komulainen at nokia.com> + * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): Call + _gdk_event_button_generate to get GDK_2BUTTON_PRESS events properly + synthesized. NB#48648 + +2006-11-28 Tommi Komulainen <tommi.komulainen at nokia.com> + * gtk/gtktextview.c (gtk_text_view_motion_event, selection_motion_event_handler) * gtk/gtkentry.c (gtk_entry_motion_notify): When extension events are Modified: projects/haf/trunk/gtk+/gdk/x11/gdkinput-x11.c =================================================================== --- projects/haf/trunk/gtk+/gdk/x11/gdkinput-x11.c 2006-11-29 08:46:57 UTC (rev 8435) +++ projects/haf/trunk/gtk+/gdk/x11/gdkinput-x11.c 2006-11-29 08:56:21 UTC (rev 8436) @@ -591,6 +591,10 @@ event->button.state = gdk_input_translate_state(xdbe->state,xdbe->device_state); event->button.button = xdbe->button; + if (event->button.type == GDK_BUTTON_PRESS) + _gdk_event_button_generate (gdk_drawable_get_display (event->button.window), + event); + GDK_NOTE (EVENTS, g_print ("button %s:\t\twindow: %ld device: %ld x,y: %f %f button: %d\n", (event->button.type == GDK_BUTTON_PRESS) ? "press" : "release",
- Previous message: [maemo-commits] r8435 - projects/haf/branches/hildon-libs
- Next message: [maemo-commits] r8437 - projects/haf/trunk/gtk+/debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]