Code optimization.
This commit is contained in:
1 parent
12c514aab0
commit
a121c26d63
11 files changed
+211
-37
No files matched your search
@@ -54,6 +54,10 @@ def main() -> None:
|
||||
window.destroy()
|
||||
elif action == "class":
|
||||
window.set_wm_class("example", "Example")
|
||||
elif action == "xterm":
|
||||
window.set_wm_class("xterm", "XTerm")
|
||||
elif action == "unknown":
|
||||
root.delete_property(activeAtom)
|
||||
elif action == "pid":
|
||||
window.change_property(pidAtom, Xatom.CARDINAL, 32, [os.getpid() + 1])
|
||||
elif action == "events":
|
||||
|
||||
Reference in new issue
Block a user