From 596e188c751d0094c0906b30d176a60636371631 Mon Sep 17 00:00:00 2001 From: Daniel Weschke Date: Thu, 26 Aug 2021 22:37:11 +0200 Subject: [PATCH] fix to also change icon in window titlebar --- controldeck_gui.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/controldeck_gui.py b/controldeck_gui.py index a5d416b..0d38b7f 100644 --- a/controldeck_gui.py +++ b/controldeck_gui.py @@ -14,7 +14,8 @@ def thread_function(name): # print("Thread %s: finishing", name) p = process("xdotool search --name 'ControlDeck'") if p: - process("xdotool search --name 'ControlDeck' set_window --class 'controldeck'", output=False) + # process("xdotool search --name 'ControlDeck' set_window --class 'controldeck'", output=False) + process("xdotool search --name 'ControlDeck' set_window --classname 'controldeck' --class 'ControlDeck' windowunmap windowmap", output=False) time.sleep(0.1) def main(args, pid=-1):