hyprland/ipc: expose HyprlandToplevel jsons

This commit is contained in:
outfoxxed 2025-06-20 21:31:44 -07:00
parent 98d09b5a36
commit 8be18c05ed
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
3 changed files with 19 additions and 0 deletions

View file

@ -62,6 +62,12 @@ public:
/// so this function is available if required.
Q_INVOKABLE static void refreshWorkspaces();
/// Refresh toplevel information.
///
/// Many actions that will invalidate workspace state don't send events,
/// so this function is available if required.
Q_INVOKABLE static void refreshToplevels();
[[nodiscard]] static QString requestSocketPath();
[[nodiscard]] static QString eventSocketPath();
[[nodiscard]] static QBindable<HyprlandMonitor*> bindableFocusedMonitor();