diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2019-07-15 10:54:44 +0200 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2019-07-25 10:24:50 +0200 |
commit | 6314ebd435ec42adb9692611147a155245551298 (patch) | |
tree | a44cee3862934b352a404f52353e26af3c6481f5 /gdk/gdksurfaceprivate.h | |
parent | b062dea1aad4370a2dcb52c3ffd9840d590a9b5a (diff) | |
download | gtk+-6314ebd435ec42adb9692611147a155245551298.tar.gz |
gdk/surface: Add toplevel_resize vfunc
To separate how toplevels and popups are configured, a first step is to
introduce a resize-only vfunc for backends to implement. It's meant to
only configure toplevel windows, i.e. popups. Currently it's used for
both types, but introducing the resize-only API is a first step.
Diffstat (limited to 'gdk/gdksurfaceprivate.h')
-rw-r--r-- | gdk/gdksurfaceprivate.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdk/gdksurfaceprivate.h b/gdk/gdksurfaceprivate.h index 5f86e3c60a..eb7702f09b 100644 --- a/gdk/gdksurfaceprivate.h +++ b/gdk/gdksurfaceprivate.h @@ -119,6 +119,9 @@ struct _GdkSurfaceClass gint y, gint width, gint height); + void (* toplevel_resize) (GdkSurface *surface, + gint width, + gint height); void (* move_to_rect) (GdkSurface *surface, const GdkRectangle *rect, GdkGravity rect_anchor, |