Package: mgp
Version: 1.11b-2
Severity: minor
Tags: patch

When using magicpoint with a touch-screen and rajugaki mode is used,
the cursor remains near the drawing just made. Therefore, using a
dot in the same color as the drawing is best. I always found annoying
the pen-like cursor remaining over my drawings or underlines.

The trivial patch included fixes the problem for me.

--- mgp-1.11b-2-orig/mgp.c      2005-12-19 09:52:06.000000000 +0100
+++ mgp-1.11b-cursor/mgp.c      2005-12-19 15:50:29.000000000 +0100
@@ -62,8 +62,8 @@
 static char *rakugaki_forecolors[] = {
        "red", "green", "blue", "yellow", "black", "white",
 };
-static char *rakugaki_backcolors[] = {
-       "black", "black", "black", "black", "gray", "gray",
+static char *rakugaki_backcolors[] = { /* same as forecolors */
+       "red", "green", "blue", "yellow", "black", "white",
 };
 static int demointerval = 0;   /* XXX define option for this */
 
@@ -764,7 +764,7 @@
        state.width = window_width;
        state.height = window_height;
        if (!pen_curs) {
-               pen_curs = XCreateFontCursor(display, XC_pencil);
+               pen_curs = XCreateFontCursor(display, XC_dot);
                rakugaki_updatecolor(pen_curs);
        }
        state_goto(&state, start_page, 0);


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to