From 1b75d4b71a33dbcc62f9df977b66b8bf0395f5b7 Mon Sep 17 00:00:00 2001 From: Ismael Asensio Date: Thu, 9 Feb 2023 19:38:41 +0100 Subject: [PATCH] kcms/rules: Change opacity defaults to 100% This has the benefit of providing a saner default for the values of `opacityActive` and `opacityInactive` rule properties, both in the UI and when reading the config. The side effect is the same we have when changing default values: if someone would have set a rule with some opacity to 0%, it will be read as 100% next time kwin starts. In this case it is a small price, as it is always easier to change it back when the windows are visible that restoring it when they're not, specially if it wasn't voluntary. --- src/rulesettings.kcfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rulesettings.kcfg b/src/rulesettings.kcfg index 68ab361919..4619d4015f 100644 --- a/src/rulesettings.kcfg +++ b/src/rulesettings.kcfg @@ -118,7 +118,7 @@ 0 100 - 0 + 100 @@ -129,7 +129,7 @@ 0 100 - 0 + 100