summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/gui/LayerState.cpp')
-rw-r--r--libs/gui/LayerState.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/gui/LayerState.cpp b/libs/gui/LayerState.cpp
index bb7e1a48f7..f848e4ffde 100644
--- a/libs/gui/LayerState.cpp
+++ b/libs/gui/LayerState.cpp
@@ -546,7 +546,9 @@ bool InputWindowCommands::merge(const InputWindowCommands& other) {
}
bool InputWindowCommands::empty() const {
- return focusRequests.empty() && !syncInputWindows;
+ bool empty = true;
+ empty = focusRequests.empty() && !syncInputWindows;
+ return empty;
}
void InputWindowCommands::clear() {