Merge pull request #3067 from madblobfish/three-trivial-fixes

Improve documentation and remove dead code
master
emersion 6 years ago committed by GitHub
commit bcbd0a9b45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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_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_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_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." complete -c swaymsg -s t -l type -fra 'send_tick' --description "Sends a tick event to all subscribed clients."

@ -55,9 +55,6 @@ void seat_destroy(struct sway_seat *seat) {
free(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) { static void seat_node_destroy(struct sway_seat_node *seat_node) {
wl_list_remove(&seat_node->destroy.link); wl_list_remove(&seat_node->destroy.link);
wl_list_remove(&seat_node->link); wl_list_remove(&seat_node->link);

@ -364,6 +364,7 @@ The default colors are:
: #000000 : #000000
: #0c0c0c : #0c0c0c
*debuglog* on|off|toggle *debuglog* on|off|toggle
Enables, disables or toggles debug logging. _toggle_ cannot be used in the Enables, disables or toggles debug logging. _toggle_ cannot be used in the
configuration file. configuration file.

@ -50,6 +50,10 @@ _swaymsg_ [options...] [message]
Gets a JSON-encoded layout tree of all open windows, containers, outputs, Gets a JSON-encoded layout tree of all open windows, containers, outputs,
workspaces, and so on. workspaces, and so on.
*get\_seats*
Gets a JSON-encoded list of all seats,
its properties and all assigned devices.
*get\_marks* *get\_marks*
Get a JSON-encoded list of marks. Get a JSON-encoded list of marks.

Loading…
Cancel
Save