mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-13 20:30:11 +00:00
2ff74eb667
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. |
||
---|---|---|
.. | ||
edgesnapping.c | ||
edgesnapping.h | ||
gdkdisplaylinksource.c | ||
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 | ||
gdkmacosdevice.c | ||
gdkmacosdevice.h | ||
gdkmacosdisplay-private.h | ||
gdkmacosdisplay-settings.c | ||
gdkmacosdisplay-translate.c | ||
gdkmacosdisplay.c | ||
gdkmacosdisplay.h | ||
gdkmacosdrag-private.h | ||
gdkmacosdrag.c | ||
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 | ||
gdkmacosmonitor.h | ||
gdkmacospopupsurface-private.h | ||
gdkmacospopupsurface.c | ||
gdkmacosseat-private.h | ||
gdkmacosseat.c | ||
gdkmacossurface-private.h | ||
gdkmacossurface.c | ||
gdkmacossurface.h | ||
gdkmacostoplevelsurface-private.h | ||
gdkmacostoplevelsurface.c | ||
gdkmacosutils-private.h | ||
GdkMacosWindow.c | ||
GdkMacosWindow.h | ||
meson.build |