fix(window): always restart on system titlebar toggle

Runtime decoration toggling doesn't work reliably in either direction
on Linux/Wayland. Always restart the app so the window is recreated
with the correct decoration state.
This commit is contained in:
vicrodh committed 2026-02-09 14:40:31 -06:00
1 parent cb6c86324c
commit fcafac095c
5 files changed
+8 -19

No files matched your search

+1 -1
View File
@@ -617,7 +617,7 @@
"inAppToasts": "Notificaciones en App",
"systemNotifications": "Notificaciones del Sistema",
"useSystemTitleBar": "Usar barra de título del sistema",
"useSystemTitleBarDesc": "Reemplazar la barra de título personalizada de QBZ con las decoraciones nativas de tu sistema. Activarlo reiniciará la app.",
"useSystemTitleBarDesc": "Reemplazar la barra de título personalizada de QBZ con las decoraciones nativas de tu sistema. Cambiar esto reiniciará la app.",
"hideTitleBar": "Ocultar barra de título",
"hideTitleBarDesc": "Ocultar completamente la barra de título (para usuarios de gestores de ventanas en mosaico)",
"immersiveDefaultView": "Vista predeterminada del modo inmersivo",