Created
January 24, 2023 15:46
-
-
Save kilbith/1f27f870a29d1ca87743fa6db17ebd32 to your computer and use it in GitHub Desktop.
Maximize window by default
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/client/renderingengine.cpp b/src/client/renderingengine.cpp | |
index a58b0efe6..1aebaa4e0 100644 | |
--- a/src/client/renderingengine.cpp | |
+++ b/src/client/renderingengine.cpp | |
@@ -146,6 +146,7 @@ RenderingEngine::RenderingEngine(IEventReceiver *receiver) | |
auto skin = createSkin(m_device->getGUIEnvironment(), | |
gui::EGST_WINDOWS_METALLIC, driver); | |
m_device->getGUIEnvironment()->setSkin(skin); | |
+ m_device->maximizeWindow(); | |
skin->drop(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment