summaryrefslogtreecommitdiff
path: root/src/app.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-09-26 13:46:36 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-09-26 13:46:36 +0300
commit402af37e05e617b9b5b0d676ce596544ac60231a (patch)
treef0bbdcb905743afc3f72e7b1e094671d095f6de9 /src/app.c
parent2eda7d5817db843dd55e249adfb501abd822ea0a (diff)
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.
Diffstat (limited to 'src/app.c')
-rw-r--r--src/app.c4
1 files changed, 4 insertions, 0 deletions
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) {
1497 return iFalse; 1497 return iFalse;
1498} 1498}
1499 1499
1500void setForceSoftwareRender_App(iBool sw) {
1501 app_.forceSoftwareRender = sw;
1502}
1503
1500enum iColorTheme colorTheme_App(void) { 1504enum iColorTheme colorTheme_App(void) {
1501 return app_.prefs.theme; 1505 return app_.prefs.theme;
1502} 1506}