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
d6717523
Commit
d6717523
authored
Nov 27, 2001
by
dscho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed dumb XTestFakeInput bug
parent
9cabed90
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
TODO
TODO
+1
-1
x11vnc.c
x11vnc.c
+7
-7
No files found.
TODO
View file @
d6717523
...
@@ -2,7 +2,6 @@ immediate:
...
@@ -2,7 +2,6 @@ immediate:
----------
----------
x11vnc: clipboard, cursor, updates interruptible by input (doesn't work yet)
x11vnc: clipboard, cursor, updates interruptible by input (doesn't work yet)
.x11vnc: sometimes XTest fails (but doesn't with x0rfbserver)
extra_bytes in rfbDrawCharWithClip.
extra_bytes in rfbDrawCharWithClip.
tested mouse buttons make copy rect, but text is not marked as mod.
tested mouse buttons make copy rect, but text is not marked as mod.
cursor drawing: set optional grain to mark bigger rectangles as drawn (else
cursor drawing: set optional grain to mark bigger rectangles as drawn (else
...
@@ -29,6 +28,7 @@ internal HTTP tunnelling feature (needs a special GET target and a few
...
@@ -29,6 +28,7 @@ internal HTTP tunnelling feature (needs a special GET target and a few
done:
done:
-----
-----
.x11vnc: sometimes XTest fails (but doesn't with x0rfbserver)
.DeferUpdateTime (timing problems!)
.DeferUpdateTime (timing problems!)
.empty cursor sending doesn't work.
.empty cursor sending doesn't work.
.udp (need an rfbClientPtr udpClient in rfbScreen)
.udp (need an rfbClientPtr udpClient in rfbScreen)
...
...
x11vnc.c
View file @
d6717523
...
@@ -101,18 +101,18 @@ void keyboard(Bool down,KeySym keySym,rfbClientPtr cl)
...
@@ -101,18 +101,18 @@ void keyboard(Bool down,KeySym keySym,rfbClientPtr cl)
if
(
keySym
>=
' '
&&
keySym
<
0x100
)
{
if
(
keySym
>=
' '
&&
keySym
<
0x100
)
{
KeyCode
k
;
KeyCode
k
;
/*
if(down)
if
(
down
)
tweakModifiers(modifiers[keySym],True);
*/
tweakModifiers
(
modifiers
[
keySym
],
True
);
tweakModifiers
(
modifiers
[
keySym
],
down
);
//
tweakModifiers(modifiers[keySym],down);
XTestFakeKeyEvent
(
dpy
,
XK_Shift_R
,
True
,
CurrentTime
);
//k = XKeysymToKeycode( dpy,keySym
);
k
=
XKeysymToKeycode
(
dpy
,
keySym
)
;
k
=
keycodes
[
keySym
]
;
if
(
k
!=
NoSymbol
)
{
if
(
k
!=
NoSymbol
)
{
XTestFakeKeyEvent
(
dpy
,
k
,
down
,
CurrentTime
);
XTestFakeKeyEvent
(
dpy
,
k
,
down
,
CurrentTime
);
gotInput
=
TRUE
;
gotInput
=
TRUE
;
}
}
/*XTestFakeKeyEvent(dpy,keycodes[keySym],down,CurrentTime);*/
/*XTestFakeKeyEvent(dpy,keycodes[keySym],down,CurrentTime);*/
/*
if(down)
if
(
down
)
tweakModifiers(modifiers[keySym],False);
*/
tweakModifiers
(
modifiers
[
keySym
],
False
);
gotInput
=
TRUE
;
gotInput
=
TRUE
;
}
else
{
}
else
{
KeyCode
k
=
XKeysymToKeycode
(
dpy
,
keySym
);
KeyCode
k
=
XKeysymToKeycode
(
dpy
,
keySym
);
...
...
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