sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 187f0ab1c4d24cf64d5db2b1ecf09b08b5a58c7a
parent af30a1b67c22aa54dad4e1a0ee3aacb537c4ab92
Author: S. Christoffer Eliesen <christoffer@eliesen.no>
Date:   Fri, 23 Oct 2015 12:45:46 +0200

commands: Allow 'floating_modifier' & 'focus_follows_mouse' at runtime.

Diffstat:
Msway/commands.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/sway/commands.c b/sway/commands.c @@ -323,7 +323,6 @@ static struct cmd_results *cmd_floating(int argc, char **argv) { static struct cmd_results *cmd_floating_mod(int argc, char **argv) { struct cmd_results *error = NULL; - if (!config->reading) return cmd_results_new(CMD_FAILURE, "floating_modifier", "Can only be used in config file."); if ((error = checkarg(argc, "floating_modifier", EXPECTED_EQUAL_TO, 1))) { return error; } @@ -408,7 +407,6 @@ static struct cmd_results *cmd_focus(int argc, char **argv) { static struct cmd_results *cmd_focus_follows_mouse(int argc, char **argv) { struct cmd_results *error = NULL; - if (!config->reading) return cmd_results_new(CMD_FAILURE, "focus_follows_mouse", "Can only be used in config file."); if ((error = checkarg(argc, "focus_follows_mouse", EXPECTED_EQUAL_TO, 1))) { return error; }