Revert "Restore cursor when exiting alt mode."
This reverts commit 52900255d9.
This commit is contained in:
parent
52900255d9
commit
2d59f21271
3 changed files with 0 additions and 13 deletions
2
st.c
2
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();
|
||||
}
|
||||
|
||||
|
|
|
|||
1
win.h
1
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 *);
|
||||
|
|
|
|||
10
x.c
10
x.c
|
|
@ -2414,16 +2414,6 @@ xsetcursor(int cursor)
|
|||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
xsetdefaultcursor(void)
|
||||
{
|
||||
#if BLINKING_CURSOR_PATCH
|
||||
xsetcursor(cursorstyle);
|
||||
#else
|
||||
xsetcursor(cursorshape);
|
||||
#endif // BLINKING_CURSOR_PATCH
|
||||
}
|
||||
|
||||
void
|
||||
xseturgency(int add)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue