commit 2d59f2127133c5f12e951179bf0411276c6c1ad0
parent 52900255d98a555ea952b387e835fef4ad5e1ffa
Author: bakkeby <bakkeby@gmail.com>
Date: Tue, 11 May 2021 15:42:47 +0200
Revert "Restore cursor when exiting alt mode."
This reverts commit 52900255d98a555ea952b387e835fef4ad5e1ffa.
Diffstat:
3 files changed, 0 insertions(+), 13 deletions(-)
diff --git a/st.c b/st.c
@@ -1379,8 +1379,6 @@ tswapscreen(void)
term.images_alt = im;
#endif // SIXEL_PATCH
term.mode ^= MODE_ALTSCREEN;
- if (!IS_SET(MODE_ALTSCREEN))
- xsetdefaultcursor();
tfulldirt();
}
diff --git a/win.h b/win.h
@@ -43,7 +43,6 @@ int xsetcolorname(int, const char *);
void xseticontitle(char *);
void xsettitle(char *);
int xsetcursor(int);
-void xsetdefaultcursor(void);
void xsetmode(int, unsigned int);
void xsetpointermotion(int);
void xsetsel(char *);
diff --git a/x.c b/x.c
@@ -2415,16 +2415,6 @@ xsetcursor(int cursor)
}
void
-xsetdefaultcursor(void)
-{
- #if BLINKING_CURSOR_PATCH
- xsetcursor(cursorstyle);
- #else
- xsetcursor(cursorshape);
- #endif // BLINKING_CURSOR_PATCH
-}
-
-void
xseturgency(int add)
{
XWMHints *h = XGetWMHints(xw.dpy, xw.win);