commit 55712f7
ohmu
·
2026-07-27 14:24:15 +0300 MSK
parent 0a03adf
added first patch
2 files changed,
+21,
-0
+1,
-0
1@@ -1,3 +1,4 @@
2 # plan9port
3 my patches for plan9port
4
5+cursor_fix.patch - doesnt redraw system cursor in acme, sam, etc
+20,
-0
1@@ -0,0 +1,20 @@
2+--- x11-screen.c
3++++ x11-screen.c
4+@@ -1433,8 +1433,15 @@
5+ int i;
6+ uchar src[2*16], mask[2*16];
7+
8+- if(c == nil)
9+- c = &bigarrow;
10++ if(c == nil) {
11++ if(_x.cursor != 0) {
12++ XFreeCursor(_x.display, _x.cursor);
13++ _x.cursor = 0;
14++ }
15++ XUndefineCursor(_x.display, w->drawable);
16++ XFlush(_x.display);
17++ return;
18++ }
19+
20+ for(i=0; i<2*16; i++){
21+ src[i] = revbyte(c->set[i]);