# Detect rounded corners and treat them as rectangular when -shadow-ignore-shaped is on. # Usually more reliable but depends on a EWMH-compliant WM. # Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused instead of using FocusIn/Out events. # Mark all non-WM but override-redirect windows active (e.g. ![]() # Try to detect WM windows and mark them as active. # Specify a list of conditions of windows that should not be faded. # Fade windows in/out when opening/closing # Opacity change between steps while fading out. # Opacity change between steps while fading in. # The time between steps in a fade in milliseconds. # Do not let blur radius adjust based on window opacity. # Blur background of opaque windows with transparent frames as well. # Blur background of transparent windows. # Do not let dimness adjust based on window opacity. # Avoid drawing shadow on all shaped windows (see also: -detect-rounded-corners) The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher. # This list includes all the affected apps I found in my testing. ![]() # (most applications are fine, only apps that do weird things with xshapes or argb are affected). Due to the way compton draws its shadows, certain applications will have visual glitches # The shadow exclude options are helpful if you have shadows enabled. # Set if you want different colour shadows # Zero the part of the shadow's mask behind the window. # Avoid drawing shadows on dock/panel windows. # Enabled client-side shadows on windows. # Useless with -glx-use-copysubbuffermesa. # buffer-age means auto-detect using GLX_EXT_buffer_age, supported by some drivers. # Usually, double buffer means 2, triple buffer means 3. # 2-6 are gradually slower but safer (6 is still faster than 0). # copy is fastest, but may fail on some drivers, # undefined is the slowest and the safest, and the default value. # Could be undefined (0), copy (1), exchange (2), 3-6, or buffer-age (-1). # GLX backend: GLX buffer swap method we assume. # Probably could improve performance on rapid window content changes, but is known to break things on some drivers (LLVMpipe). # GLX backend: Avoid rebinding pixmap on window damage. # May break VSync and is not available on some drivers. # My tests on nouveau shows a 200% performance boost when only 1/4 of the screen is updated. # GLX backend: Use MESA_copy_sub_buffer to do partial screen update. # My tests on nouveau show terrible slowdown. # My tests with nvidia-drivers show a 10% decrease in performance when the whole screen is modified, # GLX backend: Copy unmodified regions from front buffer instead of redrawing them all. # GLX backend is typically much faster but depends on a sane driver. I stumbled across this while searching for something else and found a great guide in the NeoWin forums, where most of this info comes from, so thanks ViperAFK. It provides glassy smooth, tear free compositing and supports a few tasteful effects - drop shadows, fades and transparency. It’s responsible for any fancy effects like drop-shadows, as well drawing windows while dragging, resizing and minimizing or maximizing them. I switched my XFCE machines over to use Compton for window compositing today - and it’s a noticeable improvement.Ī compositor glues your stacks of windows together to form the final image that you see on screen. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |