awesome icon indicating copy to clipboard operation
awesome copied to clipboard

Default to only use ARGB visual for ARGB client windows

Open yshui opened this issue 10 months ago • 5 comments

Don't use the same visual for all windows.

And add a --full-argb option to force ARGB visual for all windows, which is the current default behavior.

Fixes #2408

yshui avatar Apr 13 '24 11:04 yshui

Maybe it's better to instead keep the current default, and enable the new behavior with an option, like --smart-argb or something :thinking:

yshui avatar Apr 13 '24 11:04 yshui

Sorry for the delay, I don't have a lot of time for Awesome right now. Won't think break people who add transparent titlebars or use anti-aliased round corners?

Elv13 avatar Aug 18 '24 12:08 Elv13

@Elv13 yes, this will. alternatively we can also keep the default and add an option to enable this behavior, maybe --argb-if-needed.

yshui avatar Aug 18 '24 14:08 yshui

yup, i also think it's better to preserve the current behavior (forced argb) as a default, at least til next major release

actionless avatar Aug 18 '24 15:08 actionless

@yshui Maybe deprecate --no-argb and add a --argb-mode=<on|off|ondemand> where on remains the default?

* ondemand and not auto because auto would imply it detects when it really needs it, which we cannot really do sanely because the users are free to render whatever they want in the titlebars.

Elv13 avatar Aug 20 '24 16:08 Elv13