summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp
index ad8bbc889..5046f5364 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -284,7 +284,7 @@ static void DispatchLeftClickEvent(Window *w, int x, int y, bool double_click)
}
}
- if (wi->type & WWB_MASK) {
+ if (wi->type & WWB_PUSHBUTTON) {
/* special widget handling for buttons*/
switch (wi->type) {
default: NOT_REACHED();