rootless: Remove ROOTLESS_WORKAROUND
This was already removed for XWin (20701522be
) with no reported side effects. XQuartz seems to be behaving ok without it as well. While this possibly brings back bug #1168, we don't have any reproduction steps for that issue, and if it crops up again, we should fix it a real way rather than this hokey workaround which doesn't even work for COMPOSITE. This effectively reverts the following two changes:b2135e589b
d7fef52254
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
This commit is contained in:
parent
63b7d9448a
commit
4e09a69c5b
|
@ -1926,7 +1926,7 @@ if test "x$XQUARTZ" = xyes; then
|
|||
|
||||
AC_CHECK_LIB([Xplugin],[xp_init],[:])
|
||||
|
||||
CFLAGS="${CFLAGS} -DROOTLESS_WORKAROUND -DROOTLESS_SAFEALPHA -DNO_ALLOCA"
|
||||
CFLAGS="${CFLAGS} -DROOTLESS_SAFEALPHA -DNO_ALLOCA"
|
||||
|
||||
PKG_CHECK_MODULES(XPBPROXY, $APPLEWMPROTO $LIBAPPLEWM xfixes x11)
|
||||
|
||||
|
|
|
@ -89,11 +89,7 @@ getDrawableDamageRef (DrawablePtr pDrawable)
|
|||
ScreenPtr pScreen = pDrawable->pScreen;
|
||||
|
||||
pPixmap = 0;
|
||||
if (pScreen->GetWindowPixmap
|
||||
#ifdef ROOTLESS_WORKAROUND
|
||||
&& ((WindowPtr)pDrawable)->viewable
|
||||
#endif
|
||||
)
|
||||
if (pScreen->GetWindowPixmap)
|
||||
pPixmap = (*pScreen->GetWindowPixmap) ((WindowPtr)pDrawable);
|
||||
|
||||
if (!pPixmap)
|
||||
|
|
Loading…
Reference in New Issue
Block a user