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

Bug#461019: pointer hidden during typing is not quite (hidden)



Package: xterm
Version: 231-1
Tags: patch

The cursor xterm uses for the hidden mouse pointer has a non-empty mask,
so when I start typing, the I-bar is replaced with a black dot, which I
find quite distracting.  With this patch, the pointer's cursor has a
blank image and mask and so when it is used nothing is visible.


--- ../xterm-231/misc.c	2008-01-01 10:11:20.000000000 +1300
+++ misc.c	2008-01-16 21:35:37.000000000 +1300
@@ -418,7 +418,7 @@
     static XColor dummy;
 
     if (fn != 0) {
-	c = XCreateGlyphCursor(dpy, fn, fn, 'X', '.', &dummy, &dummy);
+	c = XCreateGlyphCursor(dpy, fn, fn, ' ', ' ', &dummy, &dummy);
     } else {
 	c = 0;
     }

-- 
Paul Collins
Wellington, New Zealand

Dag vijandelijk luchtschip de huismeester is dood



Reply to: