win: don't change window OPACITY property

Don't override the OPACITY property set by the user on the window.

Fixes #134

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-07-26 22:28:53 +01:00
parent 3434ea25f4
commit 79fc36b3e3
2 changed files with 5 additions and 23 deletions

View File

@ -271,7 +271,7 @@ struct managed_win {
opacity_t opacity_prop;
/// true if opacity is set by some rules
bool opacity_is_set;
/// Last window opacity value we set.
/// Last window opacity value set by the rules.
double opacity_set;
// Fading-related members