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.
This commit is contained in:
parent
0b2c442196
commit
1b75d4b71a
1 changed files with 2 additions and 2 deletions
|
@ -118,7 +118,7 @@
|
|||
<label>Active opacity</label>
|
||||
<min>0</min>
|
||||
<max>100</max>
|
||||
<default>0</default>
|
||||
<default>100</default>
|
||||
</entry>
|
||||
<entry name="opacityactiverule" type="Int">
|
||||
<label>Active opacity rule type</label>
|
||||
|
@ -129,7 +129,7 @@
|
|||
<label>Inactive opacity</label>
|
||||
<min>0</min>
|
||||
<max>100</max>
|
||||
<default>0</default>
|
||||
<default>100</default>
|
||||
</entry>
|
||||
<entry name="opacityinactiverule" type="Int">
|
||||
<label>Inactive opacity rule type</label>
|
||||
|
|
Loading…
Reference in a new issue