summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-11-06 18:33:45 +0200
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-11-08 15:29:16 +0200
commitf93d10ce9bb4a6de83b561f44fb7b046def16234 (patch)
tree9d477ea21531304303d152d82b459964a29aa7a9
parent389275d240e4ba19d62fda0f138a45c7ecb245ff (diff)
dix: remove staggeringly broken vendor workarounds
Dear SGI, No. Scant regards, Daniel
-rw-r--r--dix/events.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/dix/events.c b/dix/events.c
index b5937e754..68a2d3813 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -3079,12 +3079,7 @@ EventSelectForWindow(register WindowPtr pWin, register ClientPtr client, Mask ma
if (wClient (pWin) == client)
{
check = pWin->eventMask;
-#ifdef SGIMISC
- pWin->eventMask =
- (mask & ~SGIMiscSpecialDestroyMask) | (pWin->eventMask & SGIMiscSpecialDestroyMask);
-#else
pWin->eventMask = mask;
-#endif
}
else
{
@@ -3093,9 +3088,6 @@ EventSelectForWindow(register WindowPtr pWin, register ClientPtr client, Mask ma
if (SameClient(others, client))
{
check = others->mask;
-#ifdef SGIMISC
- mask = (mask & ~SGIMiscSpecialDestroyMask) | (others->mask & SGIMiscSpecialDestroyMask);
-#endif
if (mask == 0)
{
FreeResource(others->resource, RT_NONE);