[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

+1 -2
View File
@@ -30,8 +30,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
static void bind_fullscreen(int sc, void * opaque)
{
g_params.fullscreen = !g_params.fullscreen;
app_setFullscreen(g_params.fullscreen);
app_setFullscreen(!app_getFullscreen());
}
static void bind_video(int sc, void * opaque)