Merge branch 'yshui:next' into next
This commit is contained in:
@@ -46,7 +46,7 @@ static const struct picom_option picom_options[] = {
|
||||
{"fade-delta" , required_argument, 'D', NULL , "The time between steps in a fade in milliseconds. (default 10)"},
|
||||
{"menu-opacity" , required_argument, 'm', NULL , "The opacity for menus. (default 1.0)"},
|
||||
{"shadow" , no_argument , 'c', NULL , "Enabled client-side shadows on windows."},
|
||||
{"clear-shadow" , no_argument , 'z', NULL , "Don't dreaw shadow behind the window."},
|
||||
{"clear-shadow" , no_argument , 'z', NULL , "Don't draw shadow behind the window."},
|
||||
{"fading" , no_argument , 'f', NULL , "Fade windows in/out when opening/closing and when opacity changes, "
|
||||
"unless --no-fading-openclose is used."},
|
||||
{"inactive-opacity" , required_argument, 'i', NULL , "Opacity of inactive windows. (0.1 - 1.0)"},
|
||||
@@ -168,6 +168,10 @@ static const struct picom_option picom_options[] = {
|
||||
"similar to --opacity-rule. SHADER_PATH can be \"default\", in which case "
|
||||
"the default shader will be used. Does not work when --legacy-backends is "
|
||||
"enabled. See man page for more details"},
|
||||
// 338 is transparent-clipping-exclude
|
||||
{"dithered-present" , no_argument , 339, NULL , "Use higher precision during rendering, and apply dither when presenting the "
|
||||
"rendered screen. Reduces banding artifacts, but might cause performance "
|
||||
"degradation. Only works with OpenGL."},
|
||||
{"legacy-backends" , no_argument , 733, NULL , "Use deprecated version of the backends."},
|
||||
{"monitor-repaint" , no_argument , 800, NULL , "Highlight the updated area of the screen. For debugging."},
|
||||
{"diagnostics" , no_argument , 801, NULL , "Print diagnostic information"},
|
||||
@@ -725,6 +729,10 @@ bool get_cfg(options_t *opt, int argc, char *const *argv, bool shadow_enable,
|
||||
// --clip-shadow-above
|
||||
condlst_add(&opt->shadow_clip_list, optarg);
|
||||
break;
|
||||
case 339:
|
||||
// --dithered-present
|
||||
opt->dithered_present = true;
|
||||
break;
|
||||
P_CASEBOOL(733, legacy_backends);
|
||||
P_CASEBOOL(800, monitor_repaint);
|
||||
case 801:
|
||||
|
||||
Reference in New Issue
Block a user