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
ba2029e9
Commit
ba2029e9
authored
Dec 20, 2002
by
dscho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include commented debug functionality
parent
43536e2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
x11vnc.c
contrib/x11vnc.c
+5
-0
No files found.
contrib/x11vnc.c
View file @
ba2029e9
...
@@ -263,6 +263,8 @@ void DebugXTestFakeKeyEvent(Display* dpy, KeyCode keysym, Bool down, time_t cur_
...
@@ -263,6 +263,8 @@ void DebugXTestFakeKeyEvent(Display* dpy, KeyCode keysym, Bool down, time_t cur_
XTestFakeKeyEvent
(
dpy
,
keysym
,
down
,
cur_time
);
XTestFakeKeyEvent
(
dpy
,
keysym
,
down
,
cur_time
);
}
}
/* #define XTestFakeKeyEvent DebugXTestFakeKeyEvent */
void
tweak_mod
(
signed
char
mod
,
Bool
down
)
{
void
tweak_mod
(
signed
char
mod
,
Bool
down
)
{
Bool
is_shift
=
mod_state
&
(
LEFTSHIFT
|
RIGHTSHIFT
);
Bool
is_shift
=
mod_state
&
(
LEFTSHIFT
|
RIGHTSHIFT
);
X_Bool
dn
=
(
X_Bool
)
down
;
X_Bool
dn
=
(
X_Bool
)
down
;
...
@@ -337,6 +339,9 @@ static void modifier_tweak_keyboard(Bool down, KeySym keysym, rfbClientPtr clien
...
@@ -337,6 +339,9 @@ static void modifier_tweak_keyboard(Bool down, KeySym keysym, rfbClientPtr clien
static
void
keyboard
(
Bool
down
,
KeySym
keysym
,
rfbClientPtr
client
)
{
static
void
keyboard
(
Bool
down
,
KeySym
keysym
,
rfbClientPtr
client
)
{
KeyCode
k
;
KeyCode
k
;
/* fprintf(stderr,"keyboard(%s,%s(0x%x),client)\n",
down?"down":"up",XKeysymToString(keysym),(int)keysym); */
if
(
view_only
)
{
if
(
view_only
)
{
return
;
return
;
}
}
...
...
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