summaryrefslogtreecommitdiff
path: root/gtk/gtkgesture.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-10-25 09:54:37 +0200
committerAlexander Larsson <alexl@redhat.com>2016-10-25 09:54:37 +0200
commit70935f09526ba9f1d0b2f6af10e18712df73eda9 (patch)
tree5faccfc562bcf8dee34ebbd6424d86f31af236c5 /gtk/gtkgesture.c
parent639898000e8e1f8bf1a72b778978a2c8e30c2d9b (diff)
downloadgtk+-70935f09526ba9f1d0b2f6af10e18712df73eda9.tar.gz
Drop support for offscreen GdkWindowswip/alexl/no-offscreen
These complicate a lot of GdkWindow internals to implement features that not a lot of apps use, and will be better achieved using gsk. So, we just drop it all.
Diffstat (limited to 'gtk/gtkgesture.c')
-rw-r--r--gtk/gtkgesture.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkgesture.c b/gtk/gtkgesture.c
index 8f92f1d69c..3d755101c6 100644
--- a/gtk/gtkgesture.c
+++ b/gtk/gtkgesture.c
@@ -408,7 +408,7 @@ _find_widget_window (GtkGesture *gesture,
gtk_widget_get_window (widget) == window)
return window;
- window = gdk_window_get_effective_parent (window);
+ window = gdk_window_get_parent (window);
}
return NULL;
@@ -488,7 +488,7 @@ _update_widget_coordinates (GtkGesture *gesture,
gdk_window_get_position (window, &wx, &wy);
event_x += wx;
event_y += wy;
- window = gdk_window_get_effective_parent (window);
+ window = gdk_window_get_parent (window);
}
if (!window)
@@ -690,7 +690,7 @@ gesture_within_window (GtkGesture *gesture,
if (window == parent)
return TRUE;
- window = gdk_window_get_effective_parent (window);
+ window = gdk_window_get_parent (window);
}
return FALSE;