Honor opacity explicitly set by rules

This commit is contained in:
Yuxuan Shui
2018-08-11 14:26:18 -04:00
parent 58a0b9ec39
commit bfead72d37
2 changed files with 13 additions and 8 deletions

View File

@@ -1167,6 +1167,8 @@ typedef struct _win {
bool has_opacity_prop;
/// Cached value of opacity window attribute.
opacity_t opacity_prop;
/// true if opacity is set by some rules
bool opacity_is_set;
/// Last window opacity value we set.
opacity_t opacity_set;