diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-09-26 13:46:36 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-09-26 13:46:36 +0300 |
commit | 402af37e05e617b9b5b0d676ce596544ac60231a (patch) | |
tree | f0bbdcb905743afc3f72e7b1e094671d095f6de9 /src/app.c | |
parent | 2eda7d5817db843dd55e249adfb501abd822ea0a (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.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1497,6 +1497,10 @@ iBool forceSoftwareRender_App(void) { | |||
1497 | return iFalse; | 1497 | return iFalse; |
1498 | } | 1498 | } |
1499 | 1499 | ||
1500 | void setForceSoftwareRender_App(iBool sw) { | ||
1501 | app_.forceSoftwareRender = sw; | ||
1502 | } | ||
1503 | |||
1500 | enum iColorTheme colorTheme_App(void) { | 1504 | enum iColorTheme colorTheme_App(void) { |
1501 | return app_.prefs.theme; | 1505 | return app_.prefs.theme; |
1502 | } | 1506 | } |