wok-next diff magicpoint/stuff/patches/05_rakugaki_cursor.diff @ rev 20704

weechat: update (b)deps.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 25 17:29:33 2018 +0300 (2018-05-25)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/magicpoint/stuff/patches/05_rakugaki_cursor.diff	Fri May 25 17:29:33 2018 +0300
     1.3 @@ -0,0 +1,22 @@
     1.4 +Index: kit/mgp.c
     1.5 +===================================================================
     1.6 +--- kit.orig/mgp.c	2009-02-22 11:29:35.000000000 -0500
     1.7 ++++ kit/mgp.c	2009-02-22 11:31:10.000000000 -0500
     1.8 +@@ -64,7 +64,7 @@
     1.9 + 	"red", "green", "blue", "yellow", "black", "white",
    1.10 + };
    1.11 + static char *rakugaki_backcolors[] = {
    1.12 +-	"black", "black", "black", "black", "gray", "gray",
    1.13 ++	"red", "green", "blue", "yellow", "black", "white",
    1.14 + };
    1.15 + static int demointerval = 0;	/* XXX define option for this */
    1.16 + 
    1.17 +@@ -783,7 +783,7 @@
    1.18 + 	state.width = window_width;
    1.19 + 	state.height = window_height;
    1.20 + 	if (!pen_curs) {
    1.21 +-		pen_curs = XCreateFontCursor(display, XC_pencil);
    1.22 ++		pen_curs = XCreateFontCursor(display, XC_dot);
    1.23 + 		rakugaki_updatecolor(pen_curs);
    1.24 + 	}
    1.25 + 	state_goto(&state, start_page, 0);