From 67eaa845dfe6127ecd43f58f965d6d826b300c7f Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sat, 8 Oct 2016 09:44:57 -0400 Subject: Merge pull request #940 from thejan2009/reorder-cmd-handler reorder cmd_handler arrays for bsearch --- sway/commands.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sway/commands.c b/sway/commands.c index d93f6591..2b91c43e 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 }, }; /** -- cgit v1.2.3-54-g00ecf