projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d89a9ba
)
added handling clickable global animations during request dialog
author
Holger Schemel
<info@artsoft.org>
Thu, 25 Apr 2019 17:25:19 +0000
(19:25 +0200)
committer
Holger Schemel
<info@artsoft.org>
Thu, 25 Apr 2019 17:25:19 +0000
(19:25 +0200)
src/tools.c
patch
|
blob
|
history
diff --git
a/src/tools.c
b/src/tools.c
index e33344dd6b23cd1a64bd06a2f84d4d8924836fc0..d3bfb74dd9385fde17716522aaf9555247ce42be 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-4333,6
+4333,12
@@
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);