summaryrefslogtreecommitdiff
path: root/include/sway/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <[email protected]>2019-06-01 21:05:09 +0200
committerDrew DeVault <[email protected]>2019-06-05 11:00:10 -0400
commit190546fd315a24c04006fb1b177069933f4350da (patch)
treedb0910b4931625d259f14b22a56b54095a8466bd /include/sway/config.h
parent799f5a2cd5ffa83d73816489aa8683564bc226f7 (diff)
add seat sub command 'xcursor_theme'
New 'seat <name> xcursor_theme <theme> [<size>]' command that configures the default xcursor theme. The default seat's xcursor theme is also propagated to XWayland, and exported through the XCURSOR_THEME and XCURSOR_SIZE environment variables. This is done every time the default seat's configuration is changed.
Diffstat (limited to 'include/sway/config.h')
-rw-r--r--include/sway/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index b94a35f3..311adb16 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -165,6 +165,10 @@ struct seat_config {
list_t *attachments; // list of seat_attachment configs
int hide_cursor_timeout;
enum seat_config_allow_constrain allow_constrain;
+ struct {
+ char *name;
+ int size;
+ } xcursor_theme;
};
enum config_dpms {