mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 01:48:02 +02:00
Revert "rootless: Remove ROOTLESS_WORKAROUND"
Christof Wolf has reported a regression that seems to be caused by
this change, so reverting the change in the 1.9 branch. We'll
investigate a proper fix in master for 1.10.
This reverts commit c89f052104.
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
parent
8cf3348e90
commit
de32d4dcf5
2 changed files with 6 additions and 2 deletions
|
|
@ -1923,7 +1923,7 @@ if test "x$XQUARTZ" = xyes; then
|
|||
|
||||
AC_CHECK_LIB([Xplugin],[xp_init],[:])
|
||||
|
||||
CFLAGS="${CFLAGS} -DROOTLESS_SAFEALPHA -DNO_ALLOCA"
|
||||
CFLAGS="${CFLAGS} -DROOTLESS_WORKAROUND -DROOTLESS_SAFEALPHA -DNO_ALLOCA"
|
||||
|
||||
PKG_CHECK_MODULES(XPBPROXY, $APPLEWMPROTO $LIBAPPLEWM xfixes x11)
|
||||
|
||||
|
|
|
|||
|
|
@ -89,7 +89,11 @@ getDrawableDamageRef (DrawablePtr pDrawable)
|
|||
ScreenPtr pScreen = pDrawable->pScreen;
|
||||
|
||||
pPixmap = 0;
|
||||
if (pScreen->GetWindowPixmap)
|
||||
if (pScreen->GetWindowPixmap
|
||||
#ifdef ROOTLESS_WORKAROUND
|
||||
&& ((WindowPtr)pDrawable)->viewable
|
||||
#endif
|
||||
)
|
||||
pPixmap = (*pScreen->GetWindowPixmap) ((WindowPtr)pDrawable);
|
||||
|
||||
if (!pPixmap)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue