feat: add persistent Force X11 setting for Wayland crash workaround

Add a toggle in Settings > Appearance to force X11 (XWayland) backend
on Wayland sessions. Persisted in graphics_settings.db, env var
QBZ_FORCE_X11=1|0 overrides for crash recovery. Also fixes the
display server log to report effective GDK backend instead of
session type.
This commit is contained in:
vicrodh committed 2026-02-10 07:18:15 -06:00
1 parent d3d719c609
commit 0f31dcd310
9 files changed
+83 -8

No files matched your search

+1
View File
@@ -995,6 +995,7 @@ pub fn run() {
// Graphics settings commands
config::graphics_settings::get_graphics_settings,
config::graphics_settings::set_hardware_acceleration,
config::graphics_settings::set_force_x11,
// Window settings commands
config::window_settings::get_window_settings,
config::window_settings::set_use_system_titlebar,