diff options
author | Lorenzo Cerqua <lorenzocerqua@tutanota.com> | 2020-05-12 14:35:11 +0200 |
---|---|---|
committer | Lorenzo Cerqua <lorenzocerqua@tutanota.com> | 2020-07-23 07:58:10 +0200 |
commit | d670a49612f76d036dd6f3b23e895a9ca7c1a9ca (patch) | |
tree | 63b0b86943551dd63f734437e626e750b0ef7e43 /servers/rendering/rendering_device.h | |
parent | 0cd98ec7e13038d09a77cf821e930be79026f943 (diff) |
DisplayServer: separate window showing into another function
When creating a window, Godot would first register it to the WM(show it) and then set its flags.
This works fine on a floating WM, but on tiling WMs as soon as a window gets registered
the WM immediately acts on the window by scaling it up and treating it as a generic window,
being registered without any special flags.
This commit separates the showing of the window into another function and calls it after the most important flags are set,
making windows with special flags(eg. all popups) work again on tiling WMs.
Fixes #37930
Diffstat (limited to 'servers/rendering/rendering_device.h')
0 files changed, 0 insertions, 0 deletions