Warning, file /plasma/kwin/kconf_update/kwin-5.21-no-swap-encourage.py was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 #!/usr/bin/env python3 0002 0003 import fileinput 0004 0005 for line in fileinput.input(): 0006 if not line.startswith("GLPreferBufferSwap="): 0007 continue 0008 value = line[len("GLPreferBufferSwap="):].strip() 0009 if value != "n": 0010 continue 0011 print("# DELETE GLPreferBufferSwap") # will use the default swap strategy