From 2e9e2b45af2beebe24fb8f05467598888f279ba4 Mon Sep 17 00:00:00 2001 From: kub Date: Fri, 28 Feb 2025 11:01:03 +0100 Subject: [PATCH] platform, disable fullscreen for systems without WM --- platform/linux/menu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.39.5