aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-10-08 09:44:57 -0400
committerDrew DeVault <sir@cmpwn.com>2016-10-12 21:43:05 -0400
commit67eaa845dfe6127ecd43f58f965d6d826b300c7f (patch)
treed817a516b6638a48fb39717c0a05c5147041ff45
parent59babac69d35284a39865243a7e067604abeeaec (diff)
downloadsway-67eaa845dfe6127ecd43f58f965d6d826b300c7f.zip
sway-67eaa845dfe6127ecd43f58f965d6d826b300c7f.tar.gz
sway-67eaa845dfe6127ecd43f58f965d6d826b300c7f.tar.bz2
Merge pull request #940 from thejan2009/reorder-cmd-handler
reorder cmd_handler arrays for bsearch
-rw-r--r--sway/commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands.c b/sway/commands.c
index d93f659..2b91c43 100644
--- 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 },
};
/**