From 1542764d2cf5ec635c6c88c4f67e86bfe58a3766 Mon Sep 17 00:00:00 2001 From: Devin Lin Date: Wed, 22 Nov 2023 23:17:18 -0800 Subject: [PATCH] envmanager: Turn off tablet mode when in docked mode --- envmanager/config.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/envmanager/config.h b/envmanager/config.h index 98efd60f..22589cad 100644 --- a/envmanager/config.h +++ b/envmanager/config.h @@ -35,6 +35,7 @@ QMap> getKwinrcSettings(KSharedConfig::Ptr m_mo {"Plugins", {{"blurEnabled", false}, {"convergentwindowsEnabled", true}}}, {"Wayland", {{"InputMethod", "/usr/share/applications/com.github.maliit.keyboard.desktop"}, {"VirtualKeyboardEnabled", true}}}, {"org.kde.kdecoration2", - {{"ButtonsOnRight", convergenceModeEnabled ? "HIAX" : "H"}}} // ButtonsOnRight changes depending on whether the device is in convergence mode + {{"ButtonsOnRight", convergenceModeEnabled ? "HIAX" : "H"}}}, // ButtonsOnRight changes depending on whether the device is in convergence mode + {"Input", {{"TabletMode", convergenceModeEnabled ? "off" : "auto"}}} // TabletMode changes depending on whether the device is in convergence mode }; }