Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
2530c5fa
Commit
2530c5fa
authored
Feb 02, 2008
by
dscho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SDLvncviewer: fix Ctrl+<letter>
Signed-off-by:
Johannes Schindelin
<
johannes.schindelin@gmx.de
>
parent
20fe2c2e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
TODO
TODO
+0
-1
SDLvncviewer.c
client_examples/SDLvncviewer.c
+5
-0
No files found.
TODO
View file @
2530c5fa
...
...
@@ -4,7 +4,6 @@ immediate:
Implement ZYWRLE decoding in libvncclient
make SDLvncviewer more versatile (test for missing keys, introduce scrollbars,
make scrollable with 2xCtrl and mouse drag)
- Left Ctrl + A does not work
- 2nd and 3rd mouse button are switched
Clean up ZRLE (probably not thread-safe: zrleBeforeBuf, zrlePaletteHelper)
style fixes: use Linux' coding guidelines & ANSIfy tightvnc-filetransfer:
...
...
client_examples/SDLvncviewer.c
View file @
2530c5fa
...
...
@@ -130,6 +130,11 @@ static rfbKeySym SDL_key2rfbKeySym(SDL_KeyboardEvent* e) {
case
SDLK_BREAK
:
k
=
XK_Break
;
break
;
default:
break
;
}
if
(
k
==
0
&&
e
->
keysym
.
sym
>=
SDLK_a
&&
e
->
keysym
.
sym
<=
SDLK_z
)
{
k
=
XK_a
+
e
->
keysym
.
sym
-
SDLK_a
;
if
(
e
->
keysym
.
mod
&
(
KMOD_LSHIFT
|
KMOD_RSHIFT
))
k
&=
~
0x20
;
}
if
(
k
==
0
)
{
if
(
e
->
keysym
.
unicode
<
0x100
)
k
=
e
->
keysym
.
unicode
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment