summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2021-11-02 10:52:48 +0000
committerPhil Jones <philj56@gmail.com>2021-11-02 10:52:48 +0000
commit06abc015b39e0338bab88367f30d2439c4c7d41c (patch)
tree85cbc57b66e920be43b3b627d8b1eb9eec3f1d24 /src/client.h
parent5695f1993b337bdfbaec6e30557778a33ea1068a (diff)
Add option to hide the cursor.
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h
index 7ebea86..9afb3aa 100644
--- a/src/client.h
+++ b/src/client.h
@@ -28,6 +28,7 @@ struct client_state {
/* Objects */
struct wl_keyboard *wl_keyboard;
+ struct wl_pointer *wl_pointer;
/* State */
bool closed;
@@ -53,6 +54,9 @@ struct client_state {
const char *username;
const char *command;
bool submit;
+
+ /* Options */
+ bool hide_cursor;
};
#endif /* CLIENT_H */