From be41cb9f3a4d9ddc443f4504df8845b874c41906 Mon Sep 17 00:00:00 2001 From: Cristian Tibirna Date: Tue, 26 Feb 2002 20:39:45 +0000 Subject: [PATCH] CT: show "Meta" when machine has windows key, the way kwin defaults at fresh startup. Answer to #38033 svn path=/trunk/kdebase/kwin/; revision=138819 --- kcmkwin/kwinoptions/mouse.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kcmkwin/kwinoptions/mouse.cpp b/kcmkwin/kwinoptions/mouse.cpp index 9ecd2f5042..bffd50e163 100644 --- a/kcmkwin/kwinoptions/mouse.cpp +++ b/kcmkwin/kwinoptions/mouse.cpp @@ -31,7 +31,7 @@ #include #include #include -#include // For KKeyNative::keyboardHasWinKey() +#include // For KKeyNative::keyboardHasWinKey() #include #include @@ -455,7 +455,7 @@ void KActionsConfig::load() setComboText(coWin1,config->readEntry("CommandWindow1","Activate, raise and pass click").ascii()); setComboText(coWin2,config->readEntry("CommandWindow2","Activate and pass click").ascii()); setComboText(coWin3,config->readEntry("CommandWindow3","Activate and pass click").ascii()); - setComboText(coAllKey,config->readEntry("CommandAllKey","Alt").ascii()); + setComboText(coAllKey,config->readEntry("CommandAllKey",KKeyNative::keyboardHasWinKey() ? "Meta" : "Alt").ascii()); setComboText(coAll1,config->readEntry("CommandAll1","Move").ascii()); setComboText(coAll2,config->readEntry("CommandAll2","Toggle raise and lower").ascii()); setComboText(coAll3,config->readEntry("CommandAll3","Resize").ascii());