summaryrefslogtreecommitdiff
path: root/servers/rendering/rendering_device.h
diff options
context:
space:
mode:
authorLorenzo Cerqua <lorenzocerqua@tutanota.com>2020-05-12 14:35:11 +0200
committerLorenzo Cerqua <lorenzocerqua@tutanota.com>2020-07-23 07:58:10 +0200
commitd670a49612f76d036dd6f3b23e895a9ca7c1a9ca (patch)
tree63b0b86943551dd63f734437e626e750b0ef7e43 /servers/rendering/rendering_device.h
parent0cd98ec7e13038d09a77cf821e930be79026f943 (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