more reliable tracking
This commit is contained in:
parent
2441385449
commit
366ec19a73
1 changed files with 3 additions and 1 deletions
|
@ -268,7 +268,9 @@ class Extension(Plugin):
|
|||
if (
|
||||
animation_type and uid in self.focused_window_tracking
|
||||
): # focus got lost when animating
|
||||
await hyprctl(f"focuswindow pid:{self.focused_window_tracking[uid]['pid']}")
|
||||
await hyprctl(
|
||||
f"focuswindow address:{self.focused_window_tracking[uid]['address']}"
|
||||
)
|
||||
|
||||
async def run_show(self, uid, force=False) -> None:
|
||||
"""<name> shows scratchpad "name" """
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue