c8318460e4
`read_window_below` enumerates through get-windows, which on Linux reads `_NET_CLIENT_LIST_STACKING` via xprop. That is an X11 protocol, and Wayland deliberately refuses to tell one application about another's windows. Under XWayland it is worse than nothing: it finds the few legacy X11 clients and silently misses every native Wayland window, which on a Hyprland desktop is most of them — so the HUD floats over an app it cannot name. Hyprland answers the question directly. `j/clients` on its command socket returns every window with class, title, position, size, pid and focus history. Ask it first when HYPRLAND_INSTANCE_SIGNATURE is set, fall back to get-windows everywhere else, and keep the picking logic shared and unchanged. Three things the provider has to get right, all covered by tests: order comes from focusHistoryID rather than the list; windows on other workspaces are dropped, since they share coordinates with the visible ones and would win the overlap test; and our own window is left out, because focus history is not stacking order — the HUD floats on top while the user works underneath it, so slicing after ourselves would skip past the very app we are trying to report. One request per tool call, opened and closed immediately: Hyprland evaluates this socket synchronously and freezes until a five-second timeout on a connection left hanging.