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
f17b5982
Commit
f17b5982
authored
Jan 30, 2012
by
Oleksandr Shneyder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update patch: 202_nx-x11_enable-xinerama.full.patch disable Xinerama extension…
Update patch: 202_nx-x11_enable-xinerama.full.patch disable Xinerama extension if NX_XINERAMA_CONF not exists
parent
36ca6646
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
changelog
debian/changelog
+5
-0
202_nx-x11_enable-xinerama.full.patch
debian/patches/202_nx-x11_enable-xinerama.full.patch
+9
-2
No files found.
debian/changelog
View file @
f17b5982
nx-libs (2:3.5.0.9-0) UNRELEASED; urgency=low
nx-libs (2:3.5.0.9-0) UNRELEASED; urgency=low
[ Mike Gabriel ]
* Continue development...
* Continue development...
[ Oleksandr Shneyder ]
* Update patch: 202_nx-x11_enable-xinerama.full.patch disable Xinerama
extension if NX_XINERAMA_CONF not exists
-- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Mon, 23 Jan 2012 00:04:57 +0100
-- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Mon, 23 Jan 2012 00:04:57 +0100
nx-libs (2:3.5.0.8-0) unstable; urgency=low
nx-libs (2:3.5.0.8-0) unstable; urgency=low
...
...
debian/patches/202_nx-x11_enable-xinerama.full.patch
View file @
f17b5982
...
@@ -31,17 +31,24 @@ Last-Update: 2012-01-13
...
@@ -31,17 +31,24 @@ Last-Update: 2012-01-13
#define BuildDmxDevelTools NO
#define BuildDmxDevelTools NO
--- a/nx-X11/lib/Xinerama/Xinerama.c
--- a/nx-X11/lib/Xinerama/Xinerama.c
+++ b/nx-X11/lib/Xinerama/Xinerama.c
+++ b/nx-X11/lib/Xinerama/Xinerama.c
@@ -249,6 +249,
9
@@
@@ -249,6 +249,
16
@@
xXineramaIsActiveReq *req;
xXineramaIsActiveReq *req;
XExtDisplayInfo *info = find_display (dpy);
XExtDisplayInfo *info = find_display (dpy);
+
+
+ FILE* fptr;
+ if((fptr=fopen(getenv("NX_XINERAMA_CONF"),"r"))!=NULL) {
+ fclose(fptr);
+ return True;
+ return True;
+ }
+ else {
+ return False;
+ }
+
+
if(!XextHasExtension(info))
if(!XextHasExtension(info))
return False; /* server doesn't even have the extension */
return False; /* server doesn't even have the extension */
@@ -279,39 +28
2
,72 @@
@@ -279,39 +28
9
,72 @@
xXineramaQueryScreensReq *req;
xXineramaQueryScreensReq *req;
XineramaScreenInfo *scrnInfo = NULL;
XineramaScreenInfo *scrnInfo = NULL;
...
...
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