projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a29d462
)
fixed handling clickable global animations during request dialog
author
Holger Schemel
<info@artsoft.org>
Sun, 28 Apr 2019 18:25:17 +0000
(20:25 +0200)
committer
Holger Schemel
<info@artsoft.org>
Sun, 28 Apr 2019 18:25:17 +0000
(20:25 +0200)
src/tools.c
patch
|
blob
|
history
diff --git
a/src/tools.c
b/src/tools.c
index 741ce7fdf4ca1a5cc94bb07e43ccf871442fcaea..0817e3d864e656b081d0a6658a5ed4774402dd47 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-4333,12
+4333,6
@@
static int RequestHandleEvents(unsigned int req_state)
button_status = MB_RELEASED;
}
- if (HandleGlobalAnimClicks(mx, my, button_status, FALSE))
- {
- // do not handle this button event anymore
- continue; // force mouse event not to be handled at all
- }
-
// this sets 'request_gadget_id'
HandleGadgets(mx, my, button_status);
@@
-4368,6
+4362,8
@@
static int RequestHandleEvents(unsigned int req_state)
break;
default:
+ // only check clickable animations if no request gadget clicked
+ HandleGlobalAnimClicks(mx, my, button_status, FALSE);
break;
}