From 2b49cb0b7397e3ba14aede1d6d4d28bf17b816bd Mon Sep 17 00:00:00 2001 From: PouleyKetchoupp Date: Fri, 21 Aug 2020 09:39:30 +0200 Subject: Re-apply "Fixes for windows in X11 tiling WMs" From PR #38727 which was reverted in #41373 because of regressions in Ubuntu with Gnome. Co-authored-by: Lorenzo Cerqua --- scene/main/window.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'scene/main') diff --git a/scene/main/window.cpp b/scene/main/window.cpp index 68ffdfe2e8..a5c5be8a44 100644 --- a/scene/main/window.cpp +++ b/scene/main/window.cpp @@ -247,6 +247,7 @@ void Window::_make_window() { } RS::get_singleton()->viewport_set_update_mode(get_viewport_rid(), RS::VIEWPORT_UPDATE_WHEN_VISIBLE); + DisplayServer::get_singleton()->show_window(window_id); } void Window::_update_from_window() { -- cgit v1.2.3