[client] ds: added new getFullscreen operation

As the window manager may change our mode to full screen without our
request we must ask the ds backend for the current state when we want to
toggle the mode.
This commit is contained in:
Geoffrey McRae committed 2021-02-21 10:31:48 +11:00
1 parent cfa9171465
commit f4c1927f56
6 files changed
+23 -4

No files matched your search

+5
View File
@@ -556,6 +556,11 @@ void app_setFullscreen(bool fs)
g_state.ds->setFullscreen(fs);
}
bool app_getFullscreen(void)
{
return g_state.ds->getFullscreen();
}
bool app_getProp(LG_DSProperty prop, void * ret)
{
return g_state.ds->getProp(prop, ret);