aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-07-31 15:09:06 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-07-31 15:09:06 +0000
commitd4ee9be4d767ff4927c9e322bdbf958841dc091d (patch)
treeab8adafe11e3bae878f38e9559b1abbf937f48a1 /wayland.h
parentconfig: configuration errors are no longer fatal (diff)
config: add 'hide-when-typing'
When enabled, the mouse cursor is hidden when the user types in the terminal. It is un-hidden when the user moves the mouse, or when the window loses keyboard focus.
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/wayland.h b/wayland.h
index 3dbd034c..777c1517 100644
--- a/wayland.h
+++ b/wayland.h
@@ -152,6 +152,7 @@ struct seat {
struct wl_cursor_theme *theme;
struct wl_cursor *cursor;
int scale;
+ bool hidden;
const char *xcursor;
struct wl_callback *xcursor_callback;