Warning, file /plasma/kwin/kconf_update/kwin-5.21-desktop-grid-click-behavior.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 sys
0004 
0005 VALUE_MAP = {
0006     'true': 0,
0007     'false': 1,
0008 }
0009 
0010 if __name__ == '__main__':
0011     for line in sys.stdin:
0012         line = line.strip()
0013         if line.startswith('PresentWindows='):
0014             _, value = line.split('=', 1)
0015             print("# DELETE PresentWindows")
0016             print("ClickBehavior=%d" % VALUE_MAP[value])