From 402af37e05e617b9b5b0d676ce596544ac60231a Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sun, 26 Sep 2021 13:46:36 +0300 Subject: Window: Set window position during creation; popups use sw render The renderer is created separately so it's possible to set the window position at creation time. Popup window use basic software rendering for (hopefully) better performance. --- src/app.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/app.c') diff --git a/src/app.c b/src/app.c index e0cae4e8..5385491c 100644 --- a/src/app.c +++ b/src/app.c @@ -1497,6 +1497,10 @@ iBool forceSoftwareRender_App(void) { return iFalse; } +void setForceSoftwareRender_App(iBool sw) { + app_.forceSoftwareRender = sw; +} + enum iColorTheme colorTheme_App(void) { return app_.prefs.theme; } -- cgit v1.2.3