forked from AuroraMiddleware/gtk
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. |
||
---|---|---|
.. | ||
broadway-output.c | ||
broadway-output.h | ||
broadway-protocol.h | ||
broadway-server.c | ||
broadway-server.h | ||
broadway.js | ||
broadwayd.c | ||
client.html | ||
gdkbroadway-server.c | ||
gdkbroadway-server.h | ||
gdkbroadway.h | ||
gdkbroadwaycursor.h | ||
gdkbroadwaydisplay.h | ||
gdkbroadwaydisplaymanager.h | ||
gdkbroadwaymonitor.h | ||
gdkbroadwaysurface.h | ||
gdkcairocontext-broadway.c | ||
gdkcairocontext-broadway.h | ||
gdkcursor-broadway.c | ||
gdkdevice-broadway.c | ||
gdkdevice-broadway.h | ||
gdkdisplay-broadway.c | ||
gdkdisplay-broadway.h | ||
gdkdnd-broadway.c | ||
gdkdrawcontext-broadway.c | ||
gdkdrawcontext-broadway.h | ||
gdkeventsource.c | ||
gdkeventsource.h | ||
gdkglobals-broadway.c | ||
gdkkeys-broadway.c | ||
gdkmonitor-broadway.c | ||
gdkmonitor-broadway.h | ||
gdkprivate-broadway.h | ||
gdksurface-broadway.c | ||
gdksurface-broadway.h | ||
gen-c-array.py | ||
meson.build | ||
TODO.broadway |