[maemo-commits] [maemo-commits] r14661 - in projects/haf/trunk/hildon-desktop: . libhildondesktop
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Mon Oct 29 12:32:50 EET 2007
- Previous message: [maemo-commits] r14660 - projects/tools/branches/maemo-monkey-bubble/chinook
- Next message: [maemo-commits] r14662 - in projects/haf/trunk/hildon-desktop: . libhildondesktop
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: jobi Date: 2007-10-29 12:32:46 +0200 (Mon, 29 Oct 2007) New Revision: 14661 Modified: projects/haf/trunk/hildon-desktop/ChangeLog projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-home-item.c Log: 2007-10-29 Johan Bilien <johan.bilien at nokia.com> * libhildondesktop/hildon-desktop-home-item.c: enable GTK extension events on both the event window and the close / resize handles. Fixes: NB#73005 Modified: projects/haf/trunk/hildon-desktop/ChangeLog =================================================================== --- projects/haf/trunk/hildon-desktop/ChangeLog 2007-10-29 09:12:36 UTC (rev 14660) +++ projects/haf/trunk/hildon-desktop/ChangeLog 2007-10-29 10:32:46 UTC (rev 14661) @@ -1,3 +1,9 @@ +2007-10-29 Johan Bilien <johan.bilien at nokia.com> + + * libhildondesktop/hildon-desktop-home-item.c: enable GTK + extension events on both the event window and the + close / resize handles. Fixes: NB#73005 + 2007-10-25 Johan Bilien <johan.bilien at nokia.com> * src/hd-switcher-menu.c: fixed a compiler warning. Fix courtersy Modified: projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-home-item.c =================================================================== --- projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-home-item.c 2007-10-29 09:12:36 UTC (rev 14660) +++ projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-home-item.c 2007-10-29 10:32:46 UTC (rev 14661) @@ -645,6 +645,10 @@ attributes_mask); gdk_window_set_user_data (priv->event_window, widget); + gdk_input_set_extension_events (priv->event_window, + gdk_window_get_events (priv->event_window), + GDK_EXTENSION_EVENTS_ALL); + if (priv->resize_type != HILDON_DESKTOP_HOME_ITEM_RESIZE_NONE) { if (priv->resize_handle) @@ -858,6 +862,10 @@ | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK); + gdk_input_set_extension_events (window, + gdk_window_get_events (window), + GDK_EXTENSION_EVENTS_ALL); + gdk_window_set_user_data (window, w); gdk_window_move (window, x, y); if (icon) @@ -915,6 +923,8 @@ event->window != priv->resize_handle_window) return FALSE; + gdk_event_request_motions (event); + if (priv->state == HILDON_DESKTOP_HOME_ITEM_STATE_NORMAL && !priv->click_timeout) {
- Previous message: [maemo-commits] r14660 - projects/tools/branches/maemo-monkey-bubble/chinook
- Next message: [maemo-commits] r14662 - in projects/haf/trunk/hildon-desktop: . libhildondesktop
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]