From: kub Date: Fri, 28 Feb 2025 10:01:03 +0000 (+0100) Subject: platform, disable fullscreen for systems without WM X-Git-Tag: v2.04~35 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e9e2b45af2beebe24fb8f05467598888f279ba4;p=picodrive.git platform, disable fullscreen for systems without WM --- diff --git a/platform/linux/menu.c b/platform/linux/menu.c index f7007cc4..802c1708 100644 --- a/platform/linux/menu.c +++ b/platform/linux/menu.c @@ -50,7 +50,8 @@ static menu_entry e_menu_keyconfig[], e_menu_gfx_options[]; void linux_menu_init(void) { - me_enable(e_menu_gfx_options, MA_OPT_VOUT_SIZE, plat_sdl_is_windowed()); + me_enable(e_menu_gfx_options, MA_OPT_VOUT_SIZE, plat_has_wm()); + me_enable(e_menu_gfx_options, MA_OPT_VOUT_FULL, plat_has_wm()); me_enable(e_menu_keyconfig, MA_CTRL_DEADZONE, 0); }