gtk2/gdk/macos
Jonas Ådahl 2ff74eb667 gdk/toplevel: Negotiate surface size via a compute-size signal
GTK will not up front know how to correctly calculate a size, since it
will not be able to reliably predict the constraints that may exist
where it will be mapped.

Thus, to handle this, calculate the size of the toplevel by having GDK
emitting a signal called 'compute-size' that will contain information
needed for computing a toplevel window size.

This signal may be emitted at any time, e.g. during
gdk_toplevel_present(), or spontaneously if constraints change.

This also drops the max size from the toplevel layout, while moving the
min size from the toplevel layout struct to the struct passed via the
signal,

This needs changes to a test case where we make sure we process
GDK_CONFIGURE etc, which means we also needs to show the window and
process all pending events in the test-focus-chain test case.
2020-08-05 15:49:00 +02:00
..
edgesnapping.c
edgesnapping.h
gdkdisplaylinksource.c macos: support ARM/PowerPC time conversion for DisplayLink times 2020-07-27 12:49:57 -07:00
gdkdisplaylinksource.h
gdkmacos.h
GdkMacosBaseView.c
GdkMacosBaseView.h
gdkmacoscairocontext-private.h
gdkmacoscairocontext.c
GdkMacosCairoSubview.c
GdkMacosCairoSubview.h
GdkMacosCairoView.c
GdkMacosCairoView.h
gdkmacosclipboard-private.h
gdkmacosclipboard.c
gdkmacoscursor-private.h
gdkmacoscursor.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkmacosdevice.c gdk: Drop source_device argument from _gdk_display_device_grab_update() 2020-07-29 01:27:51 +02:00
gdkmacosdevice.h
gdkmacosdisplay-private.h Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkmacosdisplay-settings.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkmacosdisplay-translate.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
gdkmacosdisplay.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkmacosdisplay.h
gdkmacosdrag-private.h
gdkmacosdrag.c gdk/macos: Avoid gdk_device_get_associated_device() 2020-07-30 18:17:42 +02:00
gdkmacosdragsurface-private.h
gdkmacosdragsurface.c
gdkmacoseventsource-private.h
gdkmacoseventsource.c
gdkmacosglcontext-private.h
gdkmacosglcontext.c
gdkmacosglcontext.h
GdkMacosGLLayer.c
GdkMacosGLLayer.h
gdkmacoskeymap-private.h
gdkmacoskeymap.c
gdkmacoskeymap.h
gdkmacosmonitor-private.h
gdkmacosmonitor.c gdk/monitor: Remove gdk_monitor_work_area and GdkMonitor::work-area 2020-07-29 17:57:30 +02:00
gdkmacosmonitor.h gdk/monitor: Remove gdk_monitor_work_area and GdkMonitor::work-area 2020-07-29 17:57:30 +02:00
gdkmacospopupsurface-private.h
gdkmacospopupsurface.c gdk/monitor: Remove gdk_monitor_work_area and GdkMonitor::work-area 2020-07-29 17:57:30 +02:00
gdkmacosseat-private.h
gdkmacosseat.c gdk: Drop gdk_device_get_device_type() 2020-07-30 18:44:40 +02:00
gdkmacossurface-private.h Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkmacossurface.c Remove unused GDK_HINT_POS 2020-07-30 17:06:15 +02:00
gdkmacossurface.h
gdkmacostoplevelsurface-private.h
gdkmacostoplevelsurface.c gdk/toplevel: Negotiate surface size via a compute-size signal 2020-08-05 15:49:00 +02:00
gdkmacosutils-private.h
GdkMacosWindow.c gdk/monitor: Remove gdk_monitor_work_area and GdkMonitor::work-area 2020-07-29 17:57:30 +02:00
GdkMacosWindow.h
meson.build