I have these opacity rules in compton (among others):
inactive-opacity = 0.8;
active-opacity = 1;
mark-wmwin-focused = true;
mark-ovredir-focused = true;
However, this wasn't actually taking effect like I expected - inactive windows stayed at an opacity of 1. I found through #115 that setting
mark-ovredir-focused = false
sorta helped, but then I had the issue that rofi as well as my lockscreen (betterlockscreen) was always .8 transparent. I was able to add a rule to fix rofi, but i'm not sure if it's possible to add a rule for the lockscreen since to my knowledge it doesn't work like a window? (I wouldn't know how to inspect it with xprop in any case).
Was wondering if anyone knew why this happens and how to fix or mitigate this. I only ask since previously I had been using i3wm, where I had mark-ovredir-focused = true and inactive transparency worked without needing exceptions for rofi or the lockscreen.
Huh, guess the only _real_ persistent issue I had was the lock, and since I found betterlockscreen is just a wrapper around i3lock, I was able to add "name *?= 'i3lock'" to the focus-exclude list in compton.conf to resolve this.
For future reference, the rule that fixed rofi was adding "_NET_WM_NAME@:s = 'rofi'" to the focus-exclude list in compton.conf.
Most helpful comment
For future reference, the rule that fixed rofi was adding
"_NET_WM_NAME@:s = 'rofi'"to thefocus-excludelist incompton.conf.