build: fix PostReloadHook resolution in LSP

This commit is contained in:
outfoxxed 2025-07-15 19:03:27 -07:00
parent a45fc03c7d
commit 4d8055f1cd
No known key found for this signature in database
GPG key ID: 4C88A185FB89301E
9 changed files with 20 additions and 5 deletions

View file

@ -30,6 +30,7 @@ qt_add_qml_module(quickshell-hyprland
IMPORTS ${HYPRLAND_MODULES}
)
qs_add_module_deps_light(quickshell-io Quickshell)
install_qml_module(quickshell-hyprland)
# intentionally no pch as the module is empty

View file

@ -56,6 +56,8 @@ class HyprlandFocusGrab
: public QObject
, public QQmlParserStatus {
Q_OBJECT;
QML_ELEMENT;
Q_INTERFACES(QQmlParserStatus);
/// If the focus grab is active. Defaults to false.
///
/// When set to true, an input grab will be created for the listed windows.
@ -66,7 +68,6 @@ class HyprlandFocusGrab
Q_PROPERTY(bool active READ isActive WRITE setActive NOTIFY activeChanged);
/// The list of windows to whitelist for input.
Q_PROPERTY(QList<QObject*> windows READ windows WRITE setWindows NOTIFY windowsChanged);
QML_ELEMENT;
public:
explicit HyprlandFocusGrab(QObject* parent = nullptr): QObject(parent) {}