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:
@ -168,10 +168,6 @@ static void usage(int ret) {
|
||||
" Use _NET_WM_ACTIVE_WINDOW on the root window to determine which\n"
|
||||
" window is focused instead of using FocusIn/Out events.\n"
|
||||
"\n"
|
||||
"--respect-prop-shadow\n"
|
||||
" Respect _COMPTON_SHADOW. This a prototype-level feature, which\n"
|
||||
" you must not rely on.\n"
|
||||
"\n"
|
||||
"--unredir-if-possible\n"
|
||||
" Unredirect all windows if a full-screen opaque window is\n"
|
||||
" detected, to maximize performance for full-screen windows.\n"
|
||||
@ -635,7 +631,12 @@ void get_cfg(options_t *opt, int argc, char *const *argv, bool shadow_enable,
|
||||
" from the command line options");
|
||||
break;
|
||||
P_CASEBOOL(276, use_ewmh_active_win);
|
||||
P_CASEBOOL(277, respect_prop_shadow);
|
||||
case 277:
|
||||
// --respect-prop-shadow
|
||||
log_warn("--respect-prop-shadow option has been deprecated, its "
|
||||
"functionality will always be enabled. Please remove it "
|
||||
"from the command line options");
|
||||
break;
|
||||
P_CASEBOOL(278, unredir_if_possible);
|
||||
case 279:
|
||||
// --focus-exclude
|
||||
|
Reference in New Issue
Block a user