diff options
author | Daniel Eklöf <daniel@ekloef.se> | 2019-06-01 21:05:09 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-06-05 11:00:10 -0400 |
commit | 190546fd315a24c04006fb1b177069933f4350da (patch) | |
tree | db0910b4931625d259f14b22a56b54095a8466bd /sway/commands/seat.c | |
parent | cmd_hide_edge_borders: add missing arg count check (diff) | |
download | sway-190546fd315a24c04006fb1b177069933f4350da.tar.gz sway-190546fd315a24c04006fb1b177069933f4350da.tar.zst sway-190546fd315a24c04006fb1b177069933f4350da.zip |
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 'sway/commands/seat.c')
-rw-r--r-- | sway/commands/seat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/commands/seat.c b/sway/commands/seat.c index aa36ba95..a827bf74 100644 --- a/sway/commands/seat.c +++ b/sway/commands/seat.c | |||
@@ -13,6 +13,7 @@ static struct cmd_handler seat_handlers[] = { | |||
13 | { "fallback", seat_cmd_fallback }, | 13 | { "fallback", seat_cmd_fallback }, |
14 | { "hide_cursor", seat_cmd_hide_cursor }, | 14 | { "hide_cursor", seat_cmd_hide_cursor }, |
15 | { "pointer_constraint", seat_cmd_pointer_constraint }, | 15 | { "pointer_constraint", seat_cmd_pointer_constraint }, |
16 | { "xcursor_theme", seat_cmd_xcursor_theme }, | ||
16 | }; | 17 | }; |
17 | 18 | ||
18 | struct cmd_results *cmd_seat(int argc, char **argv) { | 19 | struct cmd_results *cmd_seat(int argc, char **argv) { |