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
683415df
Commit
683415df
authored
Apr 19, 2016
by
Mike Gabriel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XAPPGROUP: Drop all Xserver code blocks that relate to removed XAPPGROUP extension.
parent
9bc6ff26
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
0 additions
and
117 deletions
+0
-117
security.c
nx-X11/programs/Xserver/Xext/security.c
+0
-7
dispatch.c
nx-X11/programs/Xserver/dix/dispatch.c
+0
-6
window.c
nx-X11/programs/Xserver/dix/window.c
+0
-68
dixstruct.h
nx-X11/programs/Xserver/include/dixstruct.h
+0
-3
globals.h
nx-X11/programs/Xserver/include/globals.h
+0
-4
miinitext.c
nx-X11/programs/Xserver/mi/miinitext.c
+0
-19
connection.c
nx-X11/programs/Xserver/os/connection.c
+0
-7
utils.c
nx-X11/programs/Xserver/os/utils.c
+0
-3
No files found.
nx-X11/programs/Xserver/Xext/security.c
View file @
683415df
...
...
@@ -65,9 +65,6 @@ in this Software without prior written authorization from The Open Group.
#include <nx-X11/extensions/XLbx.h>
extern
unsigned
char
LbxReqCode
;
#endif
#ifdef XAPPGROUP
#include <nx-X11/extensions/Xagsrv.h>
#endif
#include <stdio.h>
/* for file reading operations */
#include <nx-X11/Xatom.h>
/* for XA_STRING */
...
...
@@ -1165,10 +1162,6 @@ SecurityCheckResourceIDAccess(
* use app groups. dpw
*/
if
(
client
->
trustLevel
==
clients
[
cid
]
->
trustLevel
#ifdef XAPPGROUP
||
(
RT_COLORMAP
==
rtype
&&
XagDefaultColormap
(
client
)
==
(
Colormap
)
id
)
#endif
)
return
rval
;
else
...
...
nx-X11/programs/Xserver/dix/dispatch.c
View file @
683415df
...
...
@@ -3711,9 +3711,6 @@ void InitClient(ClientPtr client, int i, void * ospriv)
client
->
CheckAccess
=
NULL
;
client
->
authId
=
0
;
#endif
#ifdef XAPPGROUP
client
->
appgroup
=
NULL
;
#endif
client
->
fontResFunc
=
NULL
;
#ifdef SMART_SCHEDULE
client
->
smart_priority
=
0
;
...
...
@@ -3886,9 +3883,6 @@ SendConnSetup(register ClientPtr client, char *reason)
client
->
requestVector
=
client
->
swapped
?
SwappedProcVector
:
ProcVector
;
client
->
sequence
=
0
;
#ifdef XAPPGROUP
XagConnectionInfo
(
client
,
&
lconnSetupPrefix
,
&
lConnectionInfo
,
&
numScreens
);
#endif
((
xConnSetup
*
)
lConnectionInfo
)
->
ridBase
=
client
->
clientAsMask
;
((
xConnSetup
*
)
lConnectionInfo
)
->
ridMask
=
RESOURCE_ID_MASK
;
#ifdef MATCH_CLIENT_ENDIAN
...
...
nx-X11/programs/Xserver/dix/window.c
View file @
683415df
...
...
@@ -104,9 +104,6 @@ Equipment Corporation.
#include "dixevents.h"
#include "globals.h"
#ifdef XAPPGROUP
#include <nx-X11/extensions/Xagsrv.h>
#endif
#ifdef XCSECURITY
#define _SECURITY_SERVER
#include <nx-X11/extensions/security.h>
...
...
@@ -607,14 +604,6 @@ CreateWindow(Window wid, register WindowPtr pParent, int x, int y, unsigned w,
if
(
!
ancwopt
)
ancwopt
=
FindWindowWithOptional
(
pParent
)
->
optional
;
if
(
visual
==
CopyFromParent
)
{
#ifdef XAPPGROUP
VisualID
ag_visual
;
if
(
client
->
appgroup
&&
!
pParent
->
parent
&&
(
ag_visual
=
XagRootVisual
(
client
)))
visual
=
ag_visual
;
else
#endif
visual
=
ancwopt
->
visual
;
}
...
...
@@ -1276,22 +1265,6 @@ ChangeWindowAttributes(register WindowPtr pWin, Mask vmask, XID *vlist, ClientPt
pVlist
++
;
if
(
cmap
==
CopyFromParent
)
{
#ifdef XAPPGROUP
Colormap
ag_colormap
;
ClientPtr
win_owner
;
/*
* win_owner == client for CreateWindow, other clients
* can ChangeWindowAttributes
*/
win_owner
=
clients
[
CLIENT_ID
(
pWin
->
drawable
.
id
)];
if
(
win_owner
&&
win_owner
->
appgroup
&&
!
pWin
->
parent
->
parent
&&
(
ag_colormap
=
XagDefaultColormap
(
win_owner
)))
cmap
=
ag_colormap
;
else
#endif
if
(
pWin
->
parent
&&
(
!
pWin
->
optional
||
pWin
->
optional
->
visual
==
wVisual
(
pWin
->
parent
)))
...
...
@@ -2208,10 +2181,6 @@ ConfigureWindow(register WindowPtr pWin, register Mask mask, XID *vlist, ClientP
h
=
pWin
->
drawable
.
height
,
bw
=
pWin
->
borderWidth
;
int
action
,
smode
=
Above
;
#ifdef XAPPGROUP
ClientPtr
win_owner
;
ClientPtr
ag_leader
=
NULL
;
#endif
xEvent
event
;
if
((
pWin
->
drawable
.
class
==
InputOnly
)
&&
(
mask
&
IllegalInputOnlyConfigureMask
))
...
...
@@ -2308,17 +2277,8 @@ ConfigureWindow(register WindowPtr pWin, register Mask mask, XID *vlist, ClientP
else
pSib
=
pWin
->
nextSib
;
#ifdef XAPPGROUP
win_owner
=
clients
[
CLIENT_ID
(
pWin
->
drawable
.
id
)];
ag_leader
=
XagLeader
(
win_owner
);
#endif
if
((
!
pWin
->
overrideRedirect
)
&&
(
RedirectSend
(
pParent
)
#ifdef XAPPGROUP
||
(
win_owner
->
appgroup
&&
ag_leader
&&
XagIsControlledRoot
(
client
,
pParent
))
#endif
))
{
memset
(
&
event
,
0
,
sizeof
(
xEvent
));
...
...
@@ -2344,16 +2304,6 @@ ConfigureWindow(register WindowPtr pWin, register Mask mask, XID *vlist, ClientP
event
.
u
.
configureRequest
.
height
=
h
;
event
.
u
.
configureRequest
.
borderWidth
=
bw
;
event
.
u
.
configureRequest
.
valueMask
=
mask
;
#ifdef XAPPGROUP
/* make sure if the ag_leader maps the window it goes to the wm */
if
(
ag_leader
&&
ag_leader
!=
client
&&
XagIsControlledRoot
(
client
,
pParent
))
{
event
.
u
.
configureRequest
.
parent
=
XagId
(
win_owner
);
(
void
)
TryClientEvents
(
ag_leader
,
&
event
,
1
,
NoEventMask
,
NoEventMask
,
NullGrab
);
return
Success
;
}
#endif
event
.
u
.
configureRequest
.
parent
=
pParent
->
drawable
.
id
;
if
(
MaybeDeliverEventsToClient
(
pParent
,
&
event
,
1
,
SubstructureRedirectMask
,
client
)
==
1
)
...
...
@@ -2714,32 +2664,14 @@ MapWindow(register WindowPtr pWin, ClientPtr client)
{
xEvent
event
;
Bool
anyMarked
;
#ifdef XAPPGROUP
ClientPtr
win_owner
=
clients
[
CLIENT_ID
(
pWin
->
drawable
.
id
)];
ClientPtr
ag_leader
=
XagLeader
(
win_owner
);
#endif
if
((
!
pWin
->
overrideRedirect
)
&&
(
RedirectSend
(
pParent
)
#ifdef XAPPGROUP
||
(
win_owner
->
appgroup
&&
ag_leader
&&
XagIsControlledRoot
(
client
,
pParent
))
#endif
))
{
memset
(
&
event
,
0
,
sizeof
(
xEvent
));
event
.
u
.
u
.
type
=
MapRequest
;
event
.
u
.
mapRequest
.
window
=
pWin
->
drawable
.
id
;
#ifdef XAPPGROUP
/* make sure if the ag_leader maps the window it goes to the wm */
if
(
ag_leader
&&
ag_leader
!=
client
&&
XagIsControlledRoot
(
client
,
pParent
))
{
event
.
u
.
mapRequest
.
parent
=
XagId
(
win_owner
);
(
void
)
TryClientEvents
(
ag_leader
,
&
event
,
1
,
NoEventMask
,
NoEventMask
,
NullGrab
);
return
Success
;
}
#endif
event
.
u
.
mapRequest
.
parent
=
pParent
->
drawable
.
id
;
if
(
MaybeDeliverEventsToClient
(
pParent
,
&
event
,
1
,
...
...
nx-X11/programs/Xserver/include/dixstruct.h
View file @
683415df
...
...
@@ -143,9 +143,6 @@ typedef struct _Client {
Mask
/*access_mode*/
,
void
*
/*resourceval*/
);
#endif
#ifdef XAPPGROUP
struct
_AppGroupRec
*
appgroup
;
#endif
struct
_FontResolution
*
(
*
fontResFunc
)
(
/* no need for font.h */
ClientPtr
/* pClient */
,
int
*
/* num */
);
...
...
nx-X11/programs/Xserver/include/globals.h
View file @
683415df
...
...
@@ -133,10 +133,6 @@ extern Bool noXcupExtension;
extern
Bool
noResExtension
;
#endif
#ifdef XAPPGROUP
extern
Bool
noXagExtension
;
#endif
#ifdef XCMISC
extern
Bool
noXCMiscExtension
;
#endif
...
...
nx-X11/programs/Xserver/mi/miinitext.c
View file @
683415df
...
...
@@ -138,9 +138,6 @@ extern Bool noXcupExtension;
#ifdef RES
extern
Bool
noResExtension
;
#endif
#ifdef XAPPGROUP
extern
Bool
noXagExtension
;
#endif
#ifdef XCMISC
extern
Bool
noXCMiscExtension
;
#endif
...
...
@@ -204,10 +201,6 @@ typedef void (*InitExtension)(INITARGS);
#define _XLBX_SERVER_
#include <nx-X11/extensions/lbxstr.h>
#endif
#ifdef XAPPGROUP
#define _XAG_SERVER_
#include <nx-X11/extensions/Xagstr.h>
#endif
#ifdef XCSECURITY
#define _SECURITY_SERVER
#include <nx-X11/extensions/securstr.h>
...
...
@@ -284,9 +277,6 @@ extern void LbxExtensionInit(INITARGS);
#ifdef DBE
extern
void
DbeExtensionInit
(
INITARGS
);
#endif
#ifdef XAPPGROUP
extern
void
XagExtensionInit
(
INITARGS
);
#endif
#ifdef XCSECURITY
extern
void
SecurityExtensionInit
(
INITARGS
);
#endif
...
...
@@ -425,9 +415,6 @@ static ExtensionToggle ExtensionToggleList[] =
#ifdef RES
{
"X-Resource"
,
&
noResExtension
},
#endif
#ifdef XAPPGROUP
{
"XC-APPGROUP"
,
&
noXagExtension
},
#endif
#ifdef XCMISC
{
"XC-MISC"
,
&
noXCMiscExtension
},
#endif
...
...
@@ -566,9 +553,6 @@ InitExtensions(argc, argv)
#ifdef DBE
if
(
!
noDbeExtension
)
DbeExtensionInit
();
#endif
#ifdef XAPPGROUP
if
(
!
noXagExtension
)
XagExtensionInit
();
#endif
#ifdef XCSECURITY
if
(
!
noSecurityExtension
)
SecurityExtensionInit
();
#endif
...
...
@@ -669,9 +653,6 @@ static ExtensionModule staticExtensions[] = {
#ifdef LBX
{
LbxExtensionInit
,
LBXNAME
,
&
noLbxExtension
,
NULL
,
NULL
},
#endif
#ifdef XAPPGROUP
{
XagExtensionInit
,
XAGNAME
,
&
noXagExtension
,
NULL
,
NULL
},
#endif
#ifdef XCSECURITY
{
SecurityExtensionInit
,
SECURITY_EXTENSION_NAME
,
&
noSecurityExtension
,
NULL
,
NULL
},
#endif
...
...
nx-X11/programs/Xserver/os/connection.c
View file @
683415df
...
...
@@ -147,9 +147,6 @@ extern __const__ int _nfiles;
#include <nx-X11/Xpoll.h>
#include "opaque.h"
#include "dixstruct.h"
#ifdef XAPPGROUP
#include <nx-X11/extensions/Xagsrv.h>
#endif
#ifdef XCSECURITY
#define _SECURITY_SERVER
#include <nx-X11/extensions/security.h>
...
...
@@ -814,10 +811,6 @@ ClientAuthorized(ClientPtr client,
/* indicate to Xdmcp protocol that we've opened new client */
XdmcpOpenDisplay
(
priv
->
fd
);
#endif
/* XDMCP */
#ifdef XAPPGROUP
if
(
ClientStateCallback
)
XagCallClientStateChange
(
client
);
#endif
/* At this point, if the client is authorized to change the access control
* list, we should getpeername() information, and add the client to
* the selfhosts list. It's not really the host machine, but the
...
...
nx-X11/programs/Xserver/os/utils.c
View file @
683415df
...
...
@@ -213,9 +213,6 @@ Bool noXcupExtension = FALSE;
#ifdef RES
Bool
noResExtension
=
FALSE
;
#endif
#ifdef XAPPGROUP
Bool
noXagExtension
=
FALSE
;
#endif
#ifdef XCMISC
Bool
noXCMiscExtension
=
FALSE
;
#endif
...
...
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