Now using glx backend for screen tearing.

This commit is contained in:
sheldonmlee 2021-10-06 00:53:07 +08:00
parent 2164dbe738
commit d43dd43cb8

View File

@ -8,7 +8,7 @@
# unless explicitly requested using the wintypes option. # unless explicitly requested using the wintypes option.
# #
# shadow = false # shadow = false
shadow = true; shadow = false;
# The blur radius for shadows, in pixels. (defaults to 12) # The blur radius for shadows, in pixels. (defaults to 12)
# shadow-radius = 12 # shadow-radius = 12
@ -100,7 +100,7 @@ fade-out-step = 0.03;
# The time between steps in fade step, in milliseconds. (> 0, defaults to 10) # The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
# fade-delta = 10 # fade-delta = 10
fade-delta = 3 fade-delta = 4
# Specify a list of conditions of windows that should not be faded. # Specify a list of conditions of windows that should not be faded.
# fade-exclude = [] # fade-exclude = []
@ -209,7 +209,7 @@ blur-background-exclude = [
# `xrender` is the default one. # `xrender` is the default one.
# #
# backend = 'glx' # backend = 'glx'
backend = "xrender"; backend = "glx";
# Enable/disable VSync. # Enable/disable VSync.
# vsync = false # vsync = false
@ -264,7 +264,7 @@ refresh-rate = 0
# to maximize performance for full-screen windows. Known to cause flickering # to maximize performance for full-screen windows. Known to cause flickering
# when redirecting/unredirecting windows. # when redirecting/unredirecting windows.
# #
# unredir-if-possible = false unredir-if-possible = true
# Delay before unredirecting the window, in milliseconds. Defaults to 0. # Delay before unredirecting the window, in milliseconds. Defaults to 0.
# unredir-if-possible-delay = 0 # unredir-if-possible-delay = 0