Hide cursor when you start typing

This commit is contained in:
Aaron Lindsay
2016-12-21 15:48:07 -05:00
committed by Aaron Lindsay
parent bd21c14273
commit 40bc165ce4
2 changed files with 27 additions and 4 deletions

5
st.h
View File

@@ -168,6 +168,11 @@ typedef struct {
Draw draw;
Visual *vis;
XSetWindowAttributes attrs;
/* Here, we use the term *pointer* to differentiate the cursor
* one sees when hovering the mouse over the terminal from, e.g.,
* a green rectangle where text would be entered. */
Cursor vpointer, bpointer; /* visible and hidden pointers */
int pointerisvisible;
int scr;
int isfixed; /* is fixed geometry? */
int l, t; /* left and top offset */