Describe the bug
Upon opening a new client, the focused client retrieved from bind(hypr, "focusedClient") returns null. After switching to another client it returns just fine.
The list returned by the above upon opening a new client doesn't include the newly open client.
FWIW the expected behavior can be obtained by directly connecting to hyprland's events, but I wasn't sure if this is intended behavior for focusedClient.
Describe the bug Upon opening a new client, the focused client retrieved from
bind(hypr, "focusedClient")
returns null. After switching to another client it returns just fine.To Reproduce
Run and open a new client.
Output:
Expected behavior The new client should be returned.
Additional context Seems like
activewindowv2
is setting the focused client beforewindowtitlev2
updatesHyprland._clients
? Feels like a sync issue.The list returned by the above upon opening a new client doesn't include the newly open client.
FWIW the expected behavior can be obtained by directly connecting to hyprland's events, but I wasn't sure if this is intended behavior for
focusedClient
.