forked from AuroraMiddleware/gtk
Fix up gdk_window_set_has_native rename issues
Seems like i forgot a bunch of things.
This commit is contained in:
parent
e123931a65
commit
1d739c2ff6
@ -1410,7 +1410,7 @@ gdk_window_ensure_native (GdkWindow *window)
|
||||
GdkWindowObject *above;
|
||||
GList listhead;
|
||||
|
||||
g_return_if_fail (GDK_IS_WINDOW (window));
|
||||
g_return_val_if_fail (GDK_IS_WINDOW (window), FALSE);
|
||||
|
||||
if (GDK_WINDOW_TYPE (window) == GDK_WINDOW_ROOT ||
|
||||
GDK_WINDOW_DESTROYED (window))
|
||||
@ -1474,6 +1474,8 @@ gdk_window_ensure_native (GdkWindow *window)
|
||||
|
||||
if (gdk_window_is_viewable (window))
|
||||
GDK_WINDOW_IMPL_GET_IFACE (private->impl)->show (window);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -387,8 +387,7 @@ void gdk_window_move_region (GdkWindow *window,
|
||||
const GdkRegion *region,
|
||||
gint dx,
|
||||
gint dy);
|
||||
void gdk_window_set_has_native (GdkWindow *window,
|
||||
gboolean has_native);
|
||||
gboolean gdk_window_ensure_native (GdkWindow *window);
|
||||
|
||||
/*
|
||||
* This allows for making shaped (partially transparent) windows
|
||||
|
@ -206,7 +206,7 @@ gdk_pointer_grab (GdkWindow * window,
|
||||
|
||||
/* We need a native window for confine to to work, ensure we have one */
|
||||
if (confine_to)
|
||||
gdk_window_ensure_native (confine_to, TRUE);
|
||||
gdk_window_ensure_native (confine_to);
|
||||
|
||||
/* TODO: What do we do for offscreens and their children? We need to proxy the grab somehow */
|
||||
if (!GDK_IS_WINDOW_IMPL_X11 (GDK_WINDOW_OBJECT (native)->impl))
|
||||
|
@ -5366,7 +5366,7 @@ gdk_window_enable_synchronized_configure (GdkWindow *window)
|
||||
{
|
||||
/* This basically means you want to do fancy X specific stuff, so
|
||||
ensure we have a native window */
|
||||
gdk_window_ensure_native (window, TRUE);
|
||||
gdk_window_ensure_native (window);
|
||||
|
||||
impl->use_synchronized_configure = TRUE;
|
||||
ensure_sync_counter (window);
|
||||
|
Loading…
Reference in New Issue
Block a user