mirror of
https://git.outfoxxed.me/quickshell/quickshell.git
synced 2025-11-06 19:14:57 +11:00
build: fix PostReloadHook resolution in LSP
This commit is contained in:
parent
a45fc03c7d
commit
4d8055f1cd
9 changed files with 20 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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) {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue