Skip to content

Commit 14c1b01

Browse files
committed
[PR #1401] Xnest: drop support for "full regeneration"
PR: #1401
1 parent 3198de0 commit 14c1b01

File tree

4 files changed

+1
-22
lines changed

4 files changed

+1
-22
lines changed

hw/xnest/Args.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ is" without express or implied warranty.
3333
#include "Args.h"
3434

3535
char *xnestDisplayName = NULL;
36-
Bool xnestFullGeneration = FALSE;
3736
int xnestDefaultClass;
3837
Bool xnestUserDefaultClass = FALSE;
3938
int xnestDefaultDepth;
@@ -69,10 +68,6 @@ ddxProcessArgument(int argc, char *argv[], int i)
6968
}
7069
return 0;
7170
}
72-
if (!strcmp(argv[i], "-full")) {
73-
xnestFullGeneration = TRUE;
74-
return 1;
75-
}
7671
if (!strcmp(argv[i], "-class")) {
7772
if (++i < argc) {
7873
if (!strcmp(argv[i], "StaticGray")) {
@@ -182,7 +177,6 @@ void
182177
ddxUseMsg(void)
183178
{
184179
ErrorF("-display string display name of the real server\n");
185-
ErrorF("-full utilize full regeneration\n");
186180
ErrorF("-class string default visual class\n");
187181
ErrorF("-depth int default depth\n");
188182
ErrorF("-sss use software screen saver\n");

hw/xnest/Args.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ is" without express or implied warranty.
2121
#include <xcb/xcb.h>
2222

2323
extern char *xnestDisplayName;
24-
extern Bool xnestFullGeneration;
2524
extern int xnestDefaultClass;
2625
extern Bool xnestUserDefaultClass;
2726
extern int xnestDefaultDepth;

hw/xnest/Init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ InitOutput(int argc, char *argv[])
109109

110110
xnestNumScreens = screenInfo.numScreens;
111111

112-
xnestDoFullGeneration = xnestFullGeneration;
112+
xnestDoFullGeneration = FALSE;
113113
}
114114

115115
static void

hw/xnest/man/Xnest.man

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -74,20 +74,6 @@ This is a useful option for debugging, but it will slow down
7474
performance considerably.
7575
It should not be used unless absolutely necessary.
7676
.TP
77-
.B \-full
78-
This option tells
79-
.B Xnest
80-
to utilize full regeneration of real server objects and reopen a new connection
81-
to the real server each time the nested server regenerates.
82-
The sample server implementation regenerates all objects in the server when the
83-
last client of this server terminates.
84-
When this happens,
85-
.B Xnest
86-
by default maintains the same top-level window and the same real server
87-
connection in each new generation.
88-
If the user selects full regeneration, even the top-level window and the
89-
connection to the real server will be regenerated for each server generation.
90-
.TP
9177
.BI "\-class " string
9278
This option specifies the default visual class of the nested server.
9379
It is similar to the

0 commit comments

Comments
 (0)