summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ui/widget.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/widget.c b/src/ui/widget.c
index 2048867d..b398b7f6 100644
--- a/src/ui/widget.c
+++ b/src/ui/widget.c
@@ -978,6 +978,7 @@ iBool processEvent_Widget(iWidget *d, const SDL_Event *ev) {
978 ev->button.button, 978 ev->button.button,
979 ev->button.x, 979 ev->button.x,
980 ev->button.y); 980 ev->button.y);
981 return iTrue;
981 } 982 }
982 if (d->flags & mouseModal_WidgetFlag && isMouseEvent_(ev)) { 983 if (d->flags & mouseModal_WidgetFlag && isMouseEvent_(ev)) {
983 if ((ev->type == SDL_MOUSEBUTTONDOWN || ev->type == SDL_MOUSEBUTTONUP) && 984 if ((ev->type == SDL_MOUSEBUTTONDOWN || ev->type == SDL_MOUSEBUTTONUP) &&