From 417a10f4772cb768d3a12fdd7b903a8d8ad9bcf9 Mon Sep 17 00:00:00 2001 From: madblobfish Date: Sun, 4 Nov 2018 17:38:13 +0100 Subject: [PATCH 1/3] removed unneeded code fragment --- sway/input/seat.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sway/input/seat.c b/sway/input/seat.c index 64419afa..54fdf40b 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c @@ -55,9 +55,6 @@ void seat_destroy(struct sway_seat *seat) { free(seat); } -static struct sway_seat_node *seat_node_from_node( - struct sway_seat *seat, struct sway_node *node); - static void seat_node_destroy(struct sway_seat_node *seat_node) { wl_list_remove(&seat_node->destroy.link); wl_list_remove(&seat_node->link); From 7d8ed7a3a70d44c9ebe68d19a1be2d8fb8183b49 Mon Sep 17 00:00:00 2001 From: madblobfish Date: Sun, 4 Nov 2018 17:38:35 +0100 Subject: [PATCH 2/3] added space after table in sway.5 manpage --- sway/sway.5.scd | 1 + 1 file changed, 1 insertion(+) diff --git a/sway/sway.5.scd b/sway/sway.5.scd index b3d696f2..f7ca00d6 100644 --- a/sway/sway.5.scd +++ b/sway/sway.5.scd @@ -364,6 +364,7 @@ The default colors are: : #000000 : #0c0c0c + *debuglog* on|off|toggle Enables, disables or toggles debug logging. _toggle_ cannot be used in the configuration file. From e47b31c55680daf40208eed3586a3bfe83764130 Mon Sep 17 00:00:00 2001 From: madblobfish Date: Sun, 4 Nov 2018 22:49:44 +0100 Subject: [PATCH 3/3] document swaymessage type for get_seats --- completions/fish/swaymsg.fish | 1 + swaymsg/swaymsg.1.scd | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/completions/fish/swaymsg.fish b/completions/fish/swaymsg.fish index 1e5bf3da..fd577413 100644 --- a/completions/fish/swaymsg.fish +++ b/completions/fish/swaymsg.fish @@ -16,4 +16,5 @@ complete -c swaymsg -s t -l type -fra 'get_bar_config' --description "Get a JSON complete -c swaymsg -s t -l type -fra 'get_version' --description "Get JSON-encoded version information for the running instance of sway." complete -c swaymsg -s t -l type -fra 'get_binding_modes' --description "Gets a JSON-encoded list of currently configured binding modes." complete -c swaymsg -s t -l type -fra 'get_config' --description "Gets a JSON-encoded copy of the current configuration." +complete -c swaymsg -s t -l type -fra 'get_seats' --description "Gets a JSON-encoded list of all seats, its properties and all assigned devices." complete -c swaymsg -s t -l type -fra 'send_tick' --description "Sends a tick event to all subscribed clients." diff --git a/swaymsg/swaymsg.1.scd b/swaymsg/swaymsg.1.scd index 8cf1b222..eaac8105 100644 --- a/swaymsg/swaymsg.1.scd +++ b/swaymsg/swaymsg.1.scd @@ -50,6 +50,10 @@ _swaymsg_ [options...] [message] Gets a JSON-encoded layout tree of all open windows, containers, outputs, workspaces, and so on. +*get\_seats* + Gets a JSON-encoded list of all seats, + its properties and all assigned devices. + *get\_marks* Get a JSON-encoded list of marks.