diff options
author | dscho <dscho> | 2008-02-02 03:57:12 +0000 |
---|---|---|
committer | dscho <dscho> | 2008-02-02 03:57:12 +0000 |
commit | e526c4816bad7f5ce4233c4894fdc2f56a23e0d7 (patch) | |
tree | 3580bb14942dad6d9f96e6ccffde7df0beb00b45 /client_examples | |
parent | 2530c5fa4cc468207180329c79fc74a0fa4e016d (diff) | |
download | libtdevnc-e526c4816bad7f5ce4233c4894fdc2f56a23e0d7.tar.gz libtdevnc-e526c4816bad7f5ce4233c4894fdc2f56a23e0d7.zip |
SDLvncviewer: fix button handling
For some reason, I swapped buttons 2 and 3 on Dec 7, 2005, in commit
"translate keys based on unicode (much more reliable than sym)".
I do not remember why, nor what I smoked, but this was wrong.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'client_examples')
-rw-r--r-- | client_examples/SDLvncviewer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client_examples/SDLvncviewer.c b/client_examples/SDLvncviewer.c index 4154887..8a006fd 100644 --- a/client_examples/SDLvncviewer.c +++ b/client_examples/SDLvncviewer.c @@ -3,8 +3,8 @@ struct { int sdl; int rfb; } buttonMapping[]={ {1, rfbButton1Mask}, - {3, rfbButton2Mask}, - {2, rfbButton3Mask}, + {2, rfbButton2Mask}, + {3, rfbButton3Mask}, {0,0} }; |