commit cc20f5cc35564f7b7162a17304f5e7563543487a
parent cd64df9b3a9bbe7ae47d0f431d6968289eb1b0a4
Author: Drew DeVault <sir@cmpwn.com>
Date: Sat, 8 Oct 2016 09:44:57 -0400
Merge pull request #940 from thejan2009/reorder-cmd-handler
reorder cmd_handler arrays for bsearch
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sway/commands.c b/sway/commands.c
@@ -171,8 +171,8 @@ static struct cmd_handler handlers[] = {
{ "focus", cmd_focus },
{ "focus_follows_mouse", cmd_focus_follows_mouse },
{ "font", cmd_font },
- { "force_focus_wrapping", cmd_force_focus_wrapping },
{ "for_window", cmd_for_window },
+ { "force_focus_wrapping", cmd_force_focus_wrapping },
{ "fullscreen", cmd_fullscreen },
{ "gaps", cmd_gaps },
{ "hide_edge_borders", cmd_hide_edge_borders },
@@ -222,8 +222,8 @@ static struct cmd_handler bar_handlers[] = {
{ "swaybar_command", bar_cmd_swaybar_command },
{ "tray_output", bar_cmd_tray_output },
{ "tray_padding", bar_cmd_tray_padding },
- { "wrap_scroll", bar_cmd_wrap_scroll },
{ "workspace_buttons", bar_cmd_workspace_buttons },
+ { "wrap_scroll", bar_cmd_wrap_scroll },
};
/**