diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2020-07-29 15:47:48 +0200 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2020-07-29 17:57:30 +0200 |
commit | c7c71137b287f9df26a47547202bb5ff3553773c (patch) | |
tree | 76aafb6d7d5747f9cd9d90824f4adf95f6052bfd /gdk/gdksurfaceprivate.h | |
parent | ec34675019446c080db60be2e8f7a8aec39bd097 (diff) | |
download | gtk+-c7c71137b287f9df26a47547202bb5ff3553773c.tar.gz |
gdk/monitor: Remove gdk_monitor_work_area and GdkMonitor::work-area
It's not a portable API, so remove it. The corresponding backend
specific functions are still available, if they were implemented, e.g.
gdk_macos_monitor_get_workarea() and gdk_x11_monitor_get_workarea().
Diffstat (limited to 'gdk/gdksurfaceprivate.h')
-rw-r--r-- | gdk/gdksurfaceprivate.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdk/gdksurfaceprivate.h b/gdk/gdksurfaceprivate.h index 55febf1dce..c9410f506e 100644 --- a/gdk/gdksurfaceprivate.h +++ b/gdk/gdksurfaceprivate.h @@ -174,9 +174,16 @@ struct _GdkSurfaceClass void gdk_surface_set_state (GdkSurface *surface, GdkSurfaceState new_state); +GdkMonitor * gdk_surface_get_layout_monitor (GdkSurface *surface, + GdkPopupLayout *layout, + void (*get_bounds) (GdkMonitor *monitor, + GdkRectangle *bounds)); + void gdk_surface_layout_popup_helper (GdkSurface *surface, int width, int height, + GdkMonitor *monitor, + GdkRectangle *bounds, GdkPopupLayout *layout, GdkRectangle *out_final_rect); |