summaryrefslogtreecommitdiff
path: root/gdk/directfb
diff options
context:
space:
mode:
authorAndré Draszik <andre.draszik@st.com>2009-09-13 15:16:13 +0100
committerJavier Jardón <jjardon@gnome.org>2010-02-07 20:01:05 +0100
commite71d3c459aa7b1d81be82a841cd7c34d6ea230ed (patch)
treeb7cfaa77a01147b3234f0e4a689af829d711f46d /gdk/directfb
parentf94d62aeab94c6ddffbffef5e4e7d563383a5b50 (diff)
downloadgtk+-e71d3c459aa7b1d81be82a841cd7c34d6ea230ed.tar.gz
gdk/directfb: fix _gdk_windowing_pointer_grab()
Fix for bgo #609188 Signed-off-by: Javier Jardón <jjardon@gnome.org>
Diffstat (limited to 'gdk/directfb')
-rw-r--r--gdk/directfb/gdkmain-directfb.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/gdk/directfb/gdkmain-directfb.c b/gdk/directfb/gdkmain-directfb.c
index 3c200b6d2f..05aa0429de 100644
--- a/gdk/directfb/gdkmain-directfb.c
+++ b/gdk/directfb/gdkmain-directfb.c
@@ -416,14 +416,16 @@ _gdk_windowing_pointer_grab (GdkWindow *window,
g_return_val_if_fail (GDK_IS_WINDOW (window), 0);
g_return_val_if_fail (confine_to == NULL || GDK_IS_WINDOW (confine_to), 0);
- _gdk_display_add_pointer_grab (_gdk_display,
+ _gdk_display_add_pointer_grab (&_gdk_display->parent,
window,
native,
owner_events,
event_mask,
- confine_to,
- cursor,
- time);
+ 0,
+ time,
+ FALSE);
+
+ return GDK_GRAB_SUCCESS;
}
#define __GDK_MAIN_X11_C__