summaryrefslogtreecommitdiff
path: root/gdk/directfb
diff options
context:
space:
mode:
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__