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
059f0318
Commit
059f0318
authored
Jun 09, 2016
by
Mike Gabriel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
noRRXineramaExtension: Make Boolean configurable via new cmdline switch (+|-rrxinerama).
parent
4d6d3c56
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
2 deletions
+18
-2
globals.h
nx-X11/programs/Xserver/include/globals.h
+1
-0
utils.c
nx-X11/programs/Xserver/os/utils.c
+15
-2
rrxinerama.c
nx-X11/programs/Xserver/randr/rrxinerama.c
+2
-0
No files found.
nx-X11/programs/Xserver/include/globals.h
View file @
059f0318
...
...
@@ -87,6 +87,7 @@ extern Bool noMITShmExtension;
#ifdef RANDR
extern
Bool
noRRExtension
;
extern
Bool
noRRXineramaExtension
;
#endif
#ifdef RENDER
...
...
nx-X11/programs/Xserver/os/utils.c
View file @
059f0318
...
...
@@ -179,6 +179,7 @@ Bool noMITShmExtension = FALSE;
#endif
#ifdef RANDR
Bool
noRRExtension
=
FALSE
;
Bool
noRRXineramaExtension
=
FALSE
;
#endif
#ifdef RENDER
Bool
noRenderExtension
=
FALSE
;
...
...
@@ -664,10 +665,14 @@ void UseMsg(void)
ErrorF
(
"-x string loads named extension at init time
\n
"
);
ErrorF
(
"-maxbigreqsize set maximal bigrequest size
\n
"
);
#ifdef PANORAMIX
ErrorF
(
"+xinerama Enable XINERAMA extension
\n
"
);
ErrorF
(
"-xinerama Disable XINERAMA
extension
\n
"
);
ErrorF
(
"+xinerama Enable XINERAMA
(PanoramiX)
extension
\n
"
);
ErrorF
(
"-xinerama Disable XINERAMA
(PanoramiX) extension (default)
\n
"
);
ErrorF
(
"-disablexineramaextension Disable XINERAMA extension
\n
"
);
#endif
#ifdef RANDR
ErrorF
(
"+rrxinerama Enable XINERAMA (via RandR) extension (default)
\n
"
);
ErrorF
(
"-rrxinerama Disable XINERAMA (via RandR) extension
\n
"
);
#endif
#ifdef SMART_SCHEDULE
ErrorF
(
"-dumbSched Disable smart scheduling, enable old behavior
\n
"
);
ErrorF
(
"-schedInterval int Set scheduler interval in msec
\n
"
);
...
...
@@ -1037,6 +1042,14 @@ ProcessCommandLine(int argc, char *argv[])
PanoramiXExtensionDisabledHack
=
TRUE
;
}
#endif
#ifdef RANDR
else
if
(
strcmp
(
argv
[
i
],
"+rrxinerama"
)
==
0
){
noRRXineramaExtension
=
FALSE
;
}
else
if
(
strcmp
(
argv
[
i
],
"-rrxinerama"
)
==
0
){
noRRXineramaExtension
=
TRUE
;
}
#endif
else
if
(
strcmp
(
argv
[
i
],
"-x"
)
==
0
)
{
if
(
++
i
>=
argc
)
...
...
nx-X11/programs/Xserver/randr/rrxinerama.c
View file @
059f0318
...
...
@@ -107,6 +107,8 @@ static int ProcRRXineramaIsActive(ClientPtr client);
static
int
ProcRRXineramaQueryScreens
(
ClientPtr
client
);
static
int
SProcRRXineramaDispatch
(
ClientPtr
client
);
extern
Bool
noRRXineramaExtension
;
/* Proc */
int
...
...
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