mirror of
https://github.com/aclist/dztui.git
synced 2026-10-29 14:12:45 +01:00
change: use Gtk.present_window_with_time()
This commit is contained in:
1 parent
866c88fbb0
commit
fb62fe285d
6 files changed
+11
-20
No files matched your search
@@ -60,6 +60,7 @@ def has_cmd(cmd: str) -> bool:
|
||||
return False
|
||||
|
||||
|
||||
@deprecated("dropped in favor of Gtk native methods")
|
||||
def foreground(cmd: str, pid: int) -> None:
|
||||
if cmd == "wmctrl":
|
||||
proc = subprocess.run(["wmctrl", "-ilp"], capture_output=True, text=True)
|
||||
|
||||
Reference in new issue
Block a user