options: remove --respect-prop-shadow
A quick search on GitHub showing the _COMPTON_SHADOW is actively being used (most noteably, by polybar). It is not a difficult thing to support, and it doesn't have that much runtime overhead. So remove the option that guards this feature, make it enabled by default. (Side note, I saw lots of people putting this option in their config files, but this is actually a command line only option.) Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
@ -516,7 +516,7 @@ static inline void ev_property_notify(session_t *ps, xcb_property_notify_event_t
|
||||
}
|
||||
|
||||
// If _COMPTON_SHADOW changes
|
||||
if (ps->o.respect_prop_shadow && ps->atoms->a_COMPTON_SHADOW == ev->atom) {
|
||||
if (ps->atoms->a_COMPTON_SHADOW == ev->atom) {
|
||||
auto w = find_managed_win(ps, ev->window);
|
||||
if (w) {
|
||||
win_update_prop_shadow(ps, w);
|
||||
|
Reference in New Issue
Block a user