forked from AuroraMiddleware/gtk
gdk/directfb: fix _gdk_windowing_pointer_grab()
Fix for bgo #609188 Signed-off-by: Javier Jardón <jjardon@gnome.org>
This commit is contained in:
parent
f94d62aeab
commit
e71d3c459a
@ -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 (GDK_IS_WINDOW (window), 0);
|
||||||
g_return_val_if_fail (confine_to == NULL || GDK_IS_WINDOW (confine_to), 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,
|
window,
|
||||||
native,
|
native,
|
||||||
owner_events,
|
owner_events,
|
||||||
event_mask,
|
event_mask,
|
||||||
confine_to,
|
0,
|
||||||
cursor,
|
time,
|
||||||
time);
|
FALSE);
|
||||||
|
|
||||||
|
return GDK_GRAB_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define __GDK_MAIN_X11_C__
|
#define __GDK_MAIN_X11_C__
|
||||||
|
Loading…
Reference in New Issue
Block a user