dix: remove staggeringly broken vendor workarounds
Dear SGI, No. Scant regards, Daniel
This commit is contained in:
parent
389275d240
commit
f93d10ce9b
|
@ -3079,12 +3079,7 @@ EventSelectForWindow(register WindowPtr pWin, register ClientPtr client, Mask ma
|
||||||
if (wClient (pWin) == client)
|
if (wClient (pWin) == client)
|
||||||
{
|
{
|
||||||
check = pWin->eventMask;
|
check = pWin->eventMask;
|
||||||
#ifdef SGIMISC
|
|
||||||
pWin->eventMask =
|
|
||||||
(mask & ~SGIMiscSpecialDestroyMask) | (pWin->eventMask & SGIMiscSpecialDestroyMask);
|
|
||||||
#else
|
|
||||||
pWin->eventMask = mask;
|
pWin->eventMask = mask;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -3093,9 +3088,6 @@ EventSelectForWindow(register WindowPtr pWin, register ClientPtr client, Mask ma
|
||||||
if (SameClient(others, client))
|
if (SameClient(others, client))
|
||||||
{
|
{
|
||||||
check = others->mask;
|
check = others->mask;
|
||||||
#ifdef SGIMISC
|
|
||||||
mask = (mask & ~SGIMiscSpecialDestroyMask) | (others->mask & SGIMiscSpecialDestroyMask);
|
|
||||||
#endif
|
|
||||||
if (mask == 0)
|
if (mask == 0)
|
||||||
{
|
{
|
||||||
FreeResource(others->resource, RT_NONE);
|
FreeResource(others->resource, RT_NONE);
|
||||||
|
|
Loading…
Reference in New Issue