summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--services/Hyprland.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/Hyprland.qml b/services/Hyprland.qml
index 7a2538e..dc24080 100644
--- a/services/Hyprland.qml
+++ b/services/Hyprland.qml
@@ -93,7 +93,7 @@ Singleton {
root.activeClient = clientComp.createObject(root, {
lastIpcObject: client
});
- } else {
+ } else if (rClient) {
rClient.destroy();
root.activeClient = null;
}