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
2208f4f9
Commit
2208f4f9
authored
Nov 13, 2011
by
Reinhard Tartler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Imported nxcompshad-3.4.0-1.tar.gz
Summary: Imported nxcompshad-3.4.0-1.tar.gz Keywords: Imported nxcompshad-3.4.0-1.tar.gz into Git repository
parent
3d8e85c4
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
14 deletions
+26
-14
CHANGELOG
nxcompshad/CHANGELOG
+10
-0
LICENSE
nxcompshad/LICENSE
+1
-1
Shadow.cpp
nxcompshad/Shadow.cpp
+3
-3
VERSION
nxcompshad/VERSION
+1
-1
X11.cpp
nxcompshad/X11.cpp
+11
-9
No files found.
nxcompshad/CHANGELOG
View file @
2208f4f9
ChangeLog:
nxcompshad-3.4.0-1
- Opened the 3.4.0 branch based on nxcompshad-3.3.0-3.
- Updated version number.
- Updated copyright to year 2009.
- Improved error messages logging in case of initialization failures.
nxcompshad-3.3.0-3
- Fixed TR01G02158. Keymap initialization could be incorrect because
...
...
nxcompshad/LICENSE
View file @
2208f4f9
Copyright (
C) 2001, 2007
NoMachine - http://www.nomachine.com/.
Copyright (
c) 2001, 2009
NoMachine - http://www.nomachine.com/.
NXCOMPSHAD and NX extensions to X are copyright of NoMachine.
...
...
nxcompshad/Shadow.cpp
View file @
2208f4f9
/**************************************************************************/
/* */
/* Copyright (c) 2001, 200
7
NoMachine, http://www.nomachine.com. */
/* Copyright (c) 2001, 200
9
NoMachine, http://www.nomachine.com. */
/* */
/* NXCOMPSHAD, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
@@ -152,7 +152,7 @@ static int NXCreatePoller(Display *display, Display **shadowDisplay)
if
(
poller
->
init
()
==
-
1
)
{
log
Test
(
"NXCreatePoller"
,
"Failed to initialize poller."
);
log
Warning
(
"NXCreatePoller"
,
"Failed to initialize poller."
);
return
-
1
;
}
...
...
@@ -270,7 +270,7 @@ int NXShadowCreate(void *dpy, char *keymap, char* shadowDisplayName, void **shad
if
(
NXCreatePoller
(
display
,
shadowDisplay
)
!=
1
)
{
log
Test
(
"NXShadowCreate"
,
"NXCreatePoller failed."
);
log
Warning
(
"NXShadowCreate"
,
"NXCreatePoller failed."
);
return
-
1
;
}
...
...
nxcompshad/VERSION
View file @
2208f4f9
3.
3
.0
3.
4
.0
nxcompshad/X11.cpp
View file @
2208f4f9
/**************************************************************************/
/* */
/* Copyright (c) 2001, 200
7
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 200
9
NoMachine, http://www.nomachine.com/. */
/* */
/* NXCOMPSHAD, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
@@ -1305,17 +1305,19 @@ void Poller::randrInit(void)
int
randrEventBase
;
int
randrErrorBase
;
randrExtension_
=
0
;
XRRSelectInput
(
display_
,
DefaultRootWindow
(
display_
),
RRScreenChangeNotifyMask
);
if
(
XRRQueryExtension
(
display_
,
&
randrEventBase
,
&
randrErrorBase
)
==
0
)
{
#ifdef PANIC
fprintf
(
stderr
,
"nxagentShadowInit: Randr extension not supported on this display.
\n
"
);
#endif
logWarning
(
"Poller::randrInit"
,
"Randr extension not supported on this "
"display."
);
randrExtension_
=
0
;
return
;
}
XRRSelectInput
(
display_
,
DefaultRootWindow
(
display_
),
RRScreenChangeNotifyMask
);
randrEventBase_
=
randrEventBase
;
randrExtension_
=
1
;
...
...
@@ -1412,7 +1414,7 @@ void Poller::getEvents(void)
{
if
(
randrExtension_
==
1
&&
(
X
.
type
==
randrEventBase_
+
RRScreenChangeNotify
||
X
.
type
==
ConfigureNotify
))
{
XRRUpdateConfiguration
(
&
X
);
XRRUpdateConfiguration
(
&
X
);
handleRRScreenChangeNotify
(
&
X
);
...
...
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