mirror of
https://github.com/swaywm/sway.git
synced 2025-10-29 05:40:18 -04:00
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.
This commit is contained in:
parent
799f5a2cd5
commit
190546fd31
9 changed files with 119 additions and 29 deletions
|
|
@ -278,6 +278,7 @@ sway_cmd seat_cmd_cursor;
|
|||
sway_cmd seat_cmd_fallback;
|
||||
sway_cmd seat_cmd_hide_cursor;
|
||||
sway_cmd seat_cmd_pointer_constraint;
|
||||
sway_cmd seat_cmd_xcursor_theme;
|
||||
|
||||
sway_cmd cmd_ipc_cmd;
|
||||
sway_cmd cmd_ipc_events;
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue