From df78469cc774c8687cae8a93607699651844b8be Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Tue, 7 May 2024 13:14:45 +0300 Subject: [PATCH] No cursor changing --- x.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/x.c b/x.c index 7116583..732ab22 100644 --- a/x.c +++ b/x.c @@ -1200,24 +1200,6 @@ xinit(int cols, int rows) ximinstantiate, NULL); } - /* white cursor, black outline */ - cursor = XCreateFontCursor(xw.dpy, mouseshape); - XDefineCursor(xw.dpy, xw.win, cursor); - - if (XParseColor(xw.dpy, xw.cmap, colorname[mousefg], &xmousefg) == 0) { - xmousefg.red = 0xffff; - xmousefg.green = 0xffff; - xmousefg.blue = 0xffff; - } - - if (XParseColor(xw.dpy, xw.cmap, colorname[mousebg], &xmousebg) == 0) { - xmousebg.red = 0x0000; - xmousebg.green = 0x0000; - xmousebg.blue = 0x0000; - } - - XRecolorCursor(xw.dpy, cursor, &xmousefg, &xmousebg); - xw.xembed = XInternAtom(xw.dpy, "_XEMBED", False); xw.wmdeletewin = XInternAtom(xw.dpy, "WM_DELETE_WINDOW", False); xw.netwmname = XInternAtom(xw.dpy, "_NET_WM_NAME", False); -- 2.48.1