diff --git a/src/services/pipewire/module.md b/src/services/pipewire/module.md new file mode 100644 index 00000000..e10809ef --- /dev/null +++ b/src/services/pipewire/module.md @@ -0,0 +1,8 @@ +name = "Quickshell.Services.PipeWire" +description = "Pipewire API" +headers = [ + "qml.hpp", + "link.hpp", + "node.hpp", +] +----- diff --git a/src/wayland/hyprland/global_shortcuts/qml.cpp b/src/wayland/hyprland/global_shortcuts/qml.cpp index ff957eaf..94423378 100644 --- a/src/wayland/hyprland/global_shortcuts/qml.cpp +++ b/src/wayland/hyprland/global_shortcuts/qml.cpp @@ -25,7 +25,7 @@ void GlobalShortcut::onPostReload() { } auto* manager = GlobalShortcutManager::instance(); - if (manager == nullptr) { + if (!manager->isActive()) { qWarning() << "The active compositor does not support hyprland_global_shortcuts_v1."; qWarning() << "GlobalShortcut will not work."; return;