Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b238c76
)
ecere/gui/drivers/XInterface: Fixed key flags on mouse wheel events
author
Jerome St-Louis
<jerome@ecere.com>
Wed, 17 Jun 2015 03:23:23 +0000
(23:23 -0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Thu, 15 Oct 2015 00:19:50 +0000
(20:19 -0400)
ecere/src/gui/drivers/XInterface.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gui/drivers/XInterface.ec
b/ecere/src/gui/drivers/XInterface.ec
index
80d8fae
..
9b01635
100644
(file)
--- a/
ecere/src/gui/drivers/XInterface.ec
+++ b/
ecere/src/gui/drivers/XInterface.ec
@@
-1829,7
+1829,7
@@
class XInterface : Interface
incref window;
if(event->button == Button4 || event->button == Button5)
{
- window.KeyMessage(__ecereVMethodID___ecereNameSpace__ecere__gui__Window_OnKeyHit,
(event->button == Button4) ? wheelUp : wheelDown
, 0);
+ window.KeyMessage(__ecereVMethodID___ecereNameSpace__ecere__gui__Window_OnKeyHit,
{ modifiers = keyFlags, code = (event->button == Button4) ? wheelUp : wheelDown }
, 0);
}
else
{