summaryrefslogtreecommitdiff
path: root/gdk/gdksurface.h
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2020-11-24 22:02:53 +0100
committerJonas Ådahl <jadahl@gmail.com>2020-12-07 09:46:39 +0100
commitecc861bf06e7e3f3f92c9b9f1ae7127a82bad2c8 (patch)
tree63dc0dffb1c8d3fc8a66f53840b7e7cb8191af12 /gdk/gdksurface.h
parent475c07e935b92c2cdef3a0ff24c74ebdeb694d82 (diff)
downloadgtk+-ecc861bf06e7e3f3f92c9b9f1ae7127a82bad2c8.tar.gz
Pass the layout signal via GdkSurface to GtkRoot
Don't have GtkRoot listen directly to the layout signal on the frame clock, but let it pass through GdkSurface. This will allow GdkSurface to be more involved in the layout phase.
Diffstat (limited to 'gdk/gdksurface.h')
-rw-r--r--gdk/gdksurface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdk/gdksurface.h b/gdk/gdksurface.h
index 6b2cfcd03b..4c47fe659b 100644
--- a/gdk/gdksurface.h
+++ b/gdk/gdksurface.h
@@ -119,6 +119,9 @@ GDK_AVAILABLE_IN_ALL
void gdk_surface_queue_render (GdkSurface *surface);
GDK_AVAILABLE_IN_ALL
+void gdk_surface_request_layout (GdkSurface *surface);
+
+GDK_AVAILABLE_IN_ALL
GdkFrameClock* gdk_surface_get_frame_clock (GdkSurface *surface);
GDK_AVAILABLE_IN_ALL