aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2016-10-08 09:44:57 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2016-10-12 21:43:05 -0400
commit67eaa845dfe6127ecd43f58f965d6d826b300c7f (patch)
treed817a516b6638a48fb39717c0a05c5147041ff45
parentMerge pull request #938 from alkino/fix_sibling (diff)
downloadsway-67eaa845dfe6127ecd43f58f965d6d826b300c7f.tar.gz
sway-67eaa845dfe6127ecd43f58f965d6d826b300c7f.tar.zst
sway-67eaa845dfe6127ecd43f58f965d6d826b300c7f.zip
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 d93f6591..2b91c43e 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -171,8 +171,8 @@ static struct cmd_handler handlers[] = {
171 { "focus", cmd_focus }, 171 { "focus", cmd_focus },
172 { "focus_follows_mouse", cmd_focus_follows_mouse }, 172 { "focus_follows_mouse", cmd_focus_follows_mouse },
173 { "font", cmd_font }, 173 { "font", cmd_font },
174 { "force_focus_wrapping", cmd_force_focus_wrapping },
175 { "for_window", cmd_for_window }, 174 { "for_window", cmd_for_window },
175 { "force_focus_wrapping", cmd_force_focus_wrapping },
176 { "fullscreen", cmd_fullscreen }, 176 { "fullscreen", cmd_fullscreen },
177 { "gaps", cmd_gaps }, 177 { "gaps", cmd_gaps },
178 { "hide_edge_borders", cmd_hide_edge_borders }, 178 { "hide_edge_borders", cmd_hide_edge_borders },
@@ -222,8 +222,8 @@ static struct cmd_handler bar_handlers[] = {
222 { "swaybar_command", bar_cmd_swaybar_command }, 222 { "swaybar_command", bar_cmd_swaybar_command },
223 { "tray_output", bar_cmd_tray_output }, 223 { "tray_output", bar_cmd_tray_output },
224 { "tray_padding", bar_cmd_tray_padding }, 224 { "tray_padding", bar_cmd_tray_padding },
225 { "wrap_scroll", bar_cmd_wrap_scroll },
226 { "workspace_buttons", bar_cmd_workspace_buttons }, 225 { "workspace_buttons", bar_cmd_workspace_buttons },
226 { "wrap_scroll", bar_cmd_wrap_scroll },
227}; 227};
228 228
229/** 229/**