Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
dimbor
nx-libs
Commits
759f89aa
Commit
759f89aa
authored
Dec 03, 2019
by
Ulrich Sibiller
Committed by
Mike Gabriel
Jan 06, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pointer.c: use __func__ in fprintf
parent
e9ee5a00
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
Pointer.c
nx-X11/programs/Xserver/hw/nxagent/Pointer.c
+8
-8
No files found.
nx-X11/programs/Xserver/hw/nxagent/Pointer.c
View file @
759f89aa
...
...
@@ -87,7 +87,7 @@ void nxagentChangePointerControl(DeviceIntPtr pDev, PtrCtrl *ctrl)
if
(
nxagentOption
(
DeviceControl
)
==
True
)
{
#ifdef TEST
fprintf
(
stderr
,
"
nxagentChangePointerControl: WARNING! Propagating changes to pointer settings.
\n
"
);
fprintf
(
stderr
,
"
%s: WARNING! Propagating changes to pointer settings.
\n
"
,
__func__
);
#endif
XChangePointerControl
(
nxagentDisplay
,
True
,
True
,
...
...
@@ -97,7 +97,7 @@ void nxagentChangePointerControl(DeviceIntPtr pDev, PtrCtrl *ctrl)
}
#ifdef TEST
fprintf
(
stderr
,
"
nxagentChangePointerControl: WARNING! Not propagating changes to pointer settings.
\n
"
);
fprintf
(
stderr
,
"
%s: WARNING! Not propagating changes to pointer settings.
\n
"
,
__func__
);
#endif
}
...
...
@@ -108,7 +108,7 @@ int nxagentPointerProc(DeviceIntPtr pDev, int onoff)
case
DEVICE_INIT
:
#ifdef TEST
fprintf
(
stderr
,
"
nxagentPointerProc: Called for [DEVICE_INIT].
\n
"
);
fprintf
(
stderr
,
"
%s: Called for [DEVICE_INIT].
\n
"
,
__func__
);
#endif
if
(
NXDisplayError
(
nxagentDisplay
)
==
1
)
...
...
@@ -129,7 +129,7 @@ int nxagentPointerProc(DeviceIntPtr pDev, int onoff)
case
DEVICE_ON
:
#ifdef TEST
fprintf
(
stderr
,
"
nxagentPointerProc: Called for [DEVICE_ON].
\n
"
);
fprintf
(
stderr
,
"
%s: Called for [DEVICE_ON].
\n
"
,
__func__
);
#endif
if
(
NXDisplayError
(
nxagentDisplay
)
==
1
)
...
...
@@ -146,7 +146,7 @@ int nxagentPointerProc(DeviceIntPtr pDev, int onoff)
case
DEVICE_OFF
:
#ifdef TEST
fprintf
(
stderr
,
"
nxagentPointerProc: Called for [DEVICE_OFF].
\n
"
);
fprintf
(
stderr
,
"
%s: Called for [DEVICE_OFF].
\n
"
,
__func__
);
#endif
if
(
NXDisplayError
(
nxagentDisplay
)
==
1
)
...
...
@@ -160,7 +160,7 @@ int nxagentPointerProc(DeviceIntPtr pDev, int onoff)
case
DEVICE_CLOSE
:
#ifdef TEST
fprintf
(
stderr
,
"
nxagentPointerProc: Called for [DEVICE_CLOSE].
\n
"
);
fprintf
(
stderr
,
"
%s: Called for [DEVICE_CLOSE].
\n
"
,
__func__
);
#endif
break
;
...
...
@@ -174,8 +174,8 @@ void nxagentInitPointerMap(void)
unsigned
char
pointerMap
[
MAXBUTTONS
];
#ifdef DEBUG
fprintf
(
stderr
,
"
nxagentInitPointerMap
: Going to retrieve the "
"pointer map from remote display.
\n
"
);
fprintf
(
stderr
,
"
%s
: Going to retrieve the "
"pointer map from remote display.
\n
"
,
__func__
);
#endif
int
numButtons
=
XGetPointerMapping
(
nxagentDisplay
,
pointerMap
,
MAXBUTTONS
);
...
...
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