[Prev][Next][Index][Thread]

cursor stuff



Mat Hostetter writes:
 > Is this the inverted cursor bug?

ok, here is the deal with the `inverted cursor bug' (in which the mask
is inverted and the portions of the cursor which should appear
transparent are black).

it seems that some x servers incorrectly interpret the `mask' bits in
`XCreatePixmapCursor ()'.  the spec (well, scheifler and gettys) says
that mask bits set to zero specify pixels which are ignored
(transparent).

this is what executor does.

but it seems that some x servers (dec x servers, the linux Xinside x
server which i use) interpret the mask bits incorrectly.

since i don't have any easy way from detecting if a given server has
this problem, i have added the X resource `Executor.invertedCursorBug'
and the option `-invertedcursorbug' which will cause executor to
re-invert the cursor mask, making the cursor appear correctly on
servers with this problem.

if anyone else has ideas on how we can make this problem go away, i'd
love to hear them.

	- Cotton