change: use Gtk.present_window_with_time()

This commit is contained in:
aclist committed 2026-05-13 20:48:50 +09:00
1 parent 866c88fbb0
commit fb62fe285d
6 files changed
+11 -20

No files matched your search

+1
View File
@@ -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)