exa: disable shared pixmaps
They got re-enabled in ee7c684f21
("Reimplement ShmPutImage.")
This commit is contained in:
parent
52bbfc5bfa
commit
b4762c0245
10
exa/exa.c
10
exa/exa.c
|
@ -42,6 +42,10 @@ DevPrivateKey exaScreenPrivateKey = &exaScreenPrivateKeyIndex;
|
|||
static int exaPixmapPrivateKeyIndex;
|
||||
DevPrivateKey exaPixmapPrivateKey = &exaPixmapPrivateKeyIndex;
|
||||
|
||||
#ifdef MITSHM
|
||||
static ShmFuncs exaShmFuncs = { NULL, NULL };
|
||||
#endif
|
||||
|
||||
static _X_INLINE void*
|
||||
ExaGetPixmapAddress(PixmapPtr p)
|
||||
{
|
||||
|
@ -924,6 +928,12 @@ exaDriverInit (ScreenPtr pScreen,
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef MITSHM
|
||||
/*
|
||||
* Don't allow shared pixmaps.
|
||||
*/
|
||||
ShmRegisterFuncs(pScreen, &exaShmFuncs);
|
||||
#endif
|
||||
/*
|
||||
* Hookup offscreen pixmaps
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue