sway

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

commit 65ace5dec5c24695501056376e227fb9b1f84a3a
parent 79ffea328c992c5109406771a59a9f016d85970d
Author: Zandr Martin <zandrmartin@gmail.com>
Date:   Fri,  2 Sep 2016 14:11:48 -0500

merge in latest commits

Diffstat:
Msway/commands/assign.c | 4++--
Msway/commands/bar.c | 4++--
Msway/commands/bar/binding_mode_indicator.c | 2+-
Msway/commands/bar/bindsym.c | 4++--
Msway/commands/bar/colors.c | 2+-
Msway/commands/bar/font.c | 2+-
Msway/commands/bar/height.c | 2+-
Msway/commands/bar/hidden_state.c | 6+++---
Msway/commands/bar/id.c | 2+-
Msway/commands/bar/mode.c | 6+++---
Msway/commands/bar/modifier.c | 2+-
Msway/commands/bar/output.c | 2+-
Msway/commands/bar/pango_markup.c | 2+-
Msway/commands/bar/position.c | 2+-
Msway/commands/bar/separator_symbol.c | 2+-
Msway/commands/bar/status_command.c | 2+-
Msway/commands/bar/strip_workspace_numbers.c | 2+-
Msway/commands/bar/swaybar_command.c | 2+-
Msway/commands/bar/tray_output.c | 2+-
Msway/commands/bar/tray_padding.c | 2+-
Msway/commands/bar/workspace_buttons.c | 2+-
Msway/commands/bar/wrap_scroll.c | 2+-
Msway/commands/bind.c | 4++--
Msway/commands/border.c | 6+++---
Msway/commands/client.c | 2+-
Msway/commands/debuglog.c | 2+-
Msway/commands/exec.c | 2+-
Msway/commands/exec_always.c | 4++--
Msway/commands/exit.c | 4++--
Msway/commands/floating.c | 8++++----
Msway/commands/floating_maximum_size.c | 2+-
Msway/commands/floating_minimum_size.c | 2+-
Msway/commands/floating_mod.c | 4++--
Msway/commands/floating_scroll.c | 2+-
Msway/commands/focus.c | 12++++++------
Msway/commands/focus_follows_mouse.c | 2+-
Msway/commands/font.c | 4++--
Msway/commands/for_window.c | 4++--
Msway/commands/fullscreen.c | 10+++++-----
Msway/commands/gaps.c | 8++++----
Msway/commands/hide_edge_borders.c | 2+-
Msway/commands/include.c | 4++--
Msway/commands/input.c | 4++--
Msway/commands/input/accel_profile.c | 4++--
Msway/commands/input/click_method.c | 4++--
Msway/commands/input/drag_lock.c | 4++--
Msway/commands/input/dwt.c | 4++--
Msway/commands/input/events.c | 4++--
Msway/commands/input/middle_emulation.c | 4++--
Msway/commands/input/natural_scroll.c | 4++--
Msway/commands/input/pointer_accel.c | 4++--
Msway/commands/input/scroll_method.c | 4++--
Msway/commands/input/tap.c | 4++--
Msway/commands/kill.c | 6+++---
Msway/commands/layout.c | 6+++---
Msway/commands/log_colors.c | 2+-
Msway/commands/mode.c | 6+++---
Msway/commands/mouse_warping.c | 2+-
Msway/commands/move.c | 10+++++-----
Msway/commands/new_float.c | 4++--
Msway/commands/new_window.c | 4++--
Msway/commands/orientation.c | 2+-
Msway/commands/output.c | 4++--
Msway/commands/reload.c | 6+++---
Msway/commands/resize.c | 4++--
Msway/commands/scratchpad.c | 8++++----
Msway/commands/seamless_mouse.c | 2+-
Msway/commands/set.c | 4++--
Msway/commands/smart_gaps.c | 2+-
Msway/commands/split.c | 10+++++-----
Msway/commands/sticky.c | 4++--
Msway/commands/workspace.c | 8++++----
Msway/commands/workspace_auto_back_and_forth.c | 2+-
Msway/commands/workspace_layout.c | 2+-
74 files changed, 144 insertions(+), 144 deletions(-)

diff --git a/sway/commands/assign.c b/sway/commands/assign.c @@ -1,7 +1,7 @@ #include <stdio.h> #include <string.h> -#include "commands.h" -#include "criteria.h" +#include "sway/commands.h" +#include "sway/criteria.h" #include "list.h" #include "log.h" diff --git a/sway/commands/bar.c b/sway/commands/bar.c @@ -1,7 +1,7 @@ #include <stdio.h> #include <string.h> -#include "commands.h" -#include "config.h" +#include "sway/commands.h" +#include "sway/config.h" #include "log.h" #include "util.h" diff --git a/sway/commands/bar/binding_mode_indicator.c b/sway/commands/bar/binding_mode_indicator.c @@ -1,5 +1,5 @@ #include <string.h> -#include "commands.h" +#include "sway/commands.h" #include "log.h" struct cmd_results *bar_cmd_binding_mode_indicator(int argc, char **argv) { diff --git a/sway/commands/bar/bindsym.c b/sway/commands/bar/bindsym.c @@ -1,7 +1,7 @@ #include <stdlib.h> #include <string.h> -#include "commands.h" -#include "config.h" +#include "sway/commands.h" +#include "sway/config.h" #include "list.h" #include "log.h" #include "stringop.h" diff --git a/sway/commands/bar/colors.c b/sway/commands/bar/colors.c @@ -1,5 +1,5 @@ #include <string.h> -#include "commands.h" +#include "sway/commands.h" struct cmd_results *bar_cmd_colors(int argc, char **argv) { struct cmd_results *error = NULL; diff --git a/sway/commands/bar/font.c b/sway/commands/bar/font.c @@ -1,5 +1,5 @@ #include <string.h> -#include "commands.h" +#include "sway/commands.h" #include "log.h" #include "stringop.h" diff --git a/sway/commands/bar/height.c b/sway/commands/bar/height.c @@ -1,6 +1,6 @@ #include <stdlib.h> #include <string.h> -#include "commands.h" +#include "sway/commands.h" #include "log.h" struct cmd_results *bar_cmd_height(int argc, char **argv) { diff --git a/sway/commands/bar/hidden_state.c b/sway/commands/bar/hidden_state.c @@ -1,7 +1,7 @@ #include <string.h> -#include "commands.h" -#include "config.h" -#include "ipc-server.h" +#include "sway/commands.h" +#include "sway/config.h" +#include "sway/ipc-server.h" #include "log.h" static struct cmd_results *bar_set_hidden_state(struct bar_config *bar, const char *hidden_state) { diff --git a/sway/commands/bar/id.c b/sway/commands/bar/id.c @@ -1,5 +1,5 @@ #include <string.h> -#include "commands.h" +#include "sway/commands.h" #include "log.h" struct cmd_results *bar_cmd_id(int argc, char **argv) { diff --git a/sway/commands/bar/mode.c b/sway/commands/bar/mode.c @@ -1,7 +1,7 @@ #include <string.h> -#include "commands.h" -#include "config.h" -#include "ipc-server.h" +#include "sway/commands.h" +#include "sway/config.h" +#include "sway/ipc-server.h" #include "log.h" static struct cmd_results *bar_set_mode(struct bar_config *bar, const char *mode) { diff --git a/sway/commands/bar/modifier.c b/sway/commands/bar/modifier.c @@ -1,5 +1,5 @@ #include <string.h> -#include "commands.h" +#include "sway/commands.h" #include "log.h" #include "stringop.h" #include "util.h" diff --git a/sway/commands/bar/output.c b/sway/commands/bar/output.c @@ -1,5 +1,5 @@ #include <string.h> -#include "commands.h" +#include "sway/commands.h" #include "list.h" #include "log.h" diff --git a/sway/commands/bar/pango_markup.c b/sway/commands/bar/pango_markup.c @@ -1,5 +1,5 @@ #include <string.h> -#include "commands.h" +#include "sway/commands.h" #include "log.h" struct cmd_results *bar_cmd_pango_markup(int argc, char **argv) { diff --git a/sway/commands/bar/position.c b/sway/commands/bar/position.c @@ -1,5 +1,5 @@ #include <string.h> -#include "commands.h" +#include "sway/commands.h" #include "log.h" struct cmd_results *bar_cmd_position(int argc, char **argv) { diff --git a/sway/commands/bar/separator_symbol.c b/sway/commands/bar/separator_symbol.c @@ -1,5 +1,5 @@ #include <string.h> -#include "commands.h" +#include "sway/commands.h" #include "log.h" struct cmd_results *bar_cmd_separator_symbol(int argc, char **argv) { diff --git a/sway/commands/bar/status_command.c b/sway/commands/bar/status_command.c @@ -1,5 +1,5 @@ #include <string.h> -#include "commands.h" +#include "sway/commands.h" #include "log.h" #include "stringop.h" diff --git a/sway/commands/bar/strip_workspace_numbers.c b/sway/commands/bar/strip_workspace_numbers.c @@ -1,5 +1,5 @@ #include <string.h> -#include "commands.h" +#include "sway/commands.h" #include "log.h" struct cmd_results *bar_cmd_strip_workspace_numbers(int argc, char **argv) { diff --git a/sway/commands/bar/swaybar_command.c b/sway/commands/bar/swaybar_command.c @@ -1,5 +1,5 @@ #include <string.h> -#include "commands.h" +#include "sway/commands.h" #include "log.h" #include "stringop.h" diff --git a/sway/commands/bar/tray_output.c b/sway/commands/bar/tray_output.c @@ -1,4 +1,4 @@ -#include "commands.h" +#include "sway/commands.h" #include "log.h" struct cmd_results *bar_cmd_tray_output(int argc, char **argv) { diff --git a/sway/commands/bar/tray_padding.c b/sway/commands/bar/tray_padding.c @@ -1,6 +1,6 @@ #include <stdlib.h> #include <string.h> -#include "commands.h" +#include "sway/commands.h" #include "log.h" struct cmd_results *bar_cmd_tray_padding(int argc, char **argv) { diff --git a/sway/commands/bar/workspace_buttons.c b/sway/commands/bar/workspace_buttons.c @@ -1,5 +1,5 @@ #include <string.h> -#include "commands.h" +#include "sway/commands.h" #include "log.h" struct cmd_results *bar_cmd_workspace_buttons(int argc, char **argv) { diff --git a/sway/commands/bar/wrap_scroll.c b/sway/commands/bar/wrap_scroll.c @@ -1,5 +1,5 @@ #include <string.h> -#include "commands.h" +#include "sway/commands.h" #include "log.h" struct cmd_results *bar_cmd_wrap_scroll(int argc, char **argv) { diff --git a/sway/commands/bind.c b/sway/commands/bind.c @@ -1,7 +1,7 @@ #include <xkbcommon/xkbcommon.h> #include <xkbcommon/xkbcommon-names.h> -#include "commands.h" -#include "config.h" +#include "sway/commands.h" +#include "sway/config.h" #include "list.h" #include "log.h" #include "stringop.h" diff --git a/sway/commands/border.c b/sway/commands/border.c @@ -1,9 +1,9 @@ #include <errno.h> #include <stdlib.h> #include <string.h> -#include "commands.h" -#include "container.h" -#include "focus.h" +#include "sway/commands.h" +#include "sway/container.h" +#include "sway/focus.h" struct cmd_results *cmd_border(int argc, char **argv) { struct cmd_results *error = NULL; diff --git a/sway/commands/client.c b/sway/commands/client.c @@ -1,6 +1,6 @@ #include <stdlib.h> #include <string.h> -#include "commands.h" +#include "sway/commands.h" static struct cmd_results *parse_border_color(struct border_colors *border_colors, const char *cmd_name, int argc, char **argv) { struct cmd_results *error = NULL; diff --git a/sway/commands/debuglog.c b/sway/commands/debuglog.c @@ -1,5 +1,5 @@ #include <string.h> -#include "commands.h" +#include "sway/commands.h" #include "log.h" struct cmd_results *cmd_debuglog(int argc, char **argv) { diff --git a/sway/commands/exec.c b/sway/commands/exec.c @@ -1,5 +1,5 @@ #include <string.h> -#include "commands.h" +#include "sway/commands.h" #include "log.h" #include "stringop.h" diff --git a/sway/commands/exec_always.c b/sway/commands/exec_always.c @@ -1,8 +1,8 @@ #include <string.h> #include <sys/wait.h> #include <unistd.h> -#include "commands.h" -#include "config.h" +#include "sway/commands.h" +#include "sway/config.h" #include "log.h" #include "stringop.h" diff --git a/sway/commands/exit.c b/sway/commands/exit.c @@ -1,5 +1,5 @@ -#include "commands.h" -#include "container.h" +#include "sway/commands.h" +#include "sway/container.h" void sway_terminate(int exit_code); diff --git a/sway/commands/floating.c b/sway/commands/floating.c @@ -1,8 +1,8 @@ #include <string.h> -#include "commands.h" -#include "container.h" -#include "ipc-server.h" -#include "layout.h" +#include "sway/commands.h" +#include "sway/container.h" +#include "sway/ipc-server.h" +#include "sway/layout.h" #include "list.h" #include "log.h" diff --git a/sway/commands/floating_maximum_size.c b/sway/commands/floating_maximum_size.c @@ -1,6 +1,6 @@ #include <stdlib.h> #include <string.h> -#include "commands.h" +#include "sway/commands.h" #include "log.h" struct cmd_results *cmd_floating_maximum_size(int argc, char **argv) { diff --git a/sway/commands/floating_minimum_size.c b/sway/commands/floating_minimum_size.c @@ -1,6 +1,6 @@ #include <stdlib.h> #include <string.h> -#include "commands.h" +#include "sway/commands.h" #include "log.h" struct cmd_results *cmd_floating_minimum_size(int argc, char **argv) { diff --git a/sway/commands/floating_mod.c b/sway/commands/floating_mod.c @@ -1,6 +1,6 @@ #include <string.h> -#include "commands.h" -#include "input_state.h" +#include "sway/commands.h" +#include "sway/input_state.h" #include "list.h" #include "log.h" #include "stringop.h" diff --git a/sway/commands/floating_scroll.c b/sway/commands/floating_scroll.c @@ -1,5 +1,5 @@ #include <string.h> -#include "commands.h" +#include "sway/commands.h" #include "log.h" #include "stringop.h" diff --git a/sway/commands/focus.c b/sway/commands/focus.c @@ -1,11 +1,11 @@ #include <string.h> #include <wlc/wlc.h> -#include "commands.h" -#include "container.h" -#include "focus.h" -#include "input_state.h" -#include "output.h" -#include "workspace.h" +#include "sway/commands.h" +#include "sway/container.h" +#include "sway/focus.h" +#include "sway/input_state.h" +#include "sway/output.h" +#include "sway/workspace.h" struct cmd_results *cmd_focus(int argc, char **argv) { if (config->reading) return cmd_results_new(CMD_FAILURE, "focus", "Can't be used in config file."); diff --git a/sway/commands/focus_follows_mouse.c b/sway/commands/focus_follows_mouse.c @@ -1,5 +1,5 @@ #include <string.h> -#include "commands.h" +#include "sway/commands.h" struct cmd_results *cmd_focus_follows_mouse(int argc, char **argv) { struct cmd_results *error = NULL; diff --git a/sway/commands/font.c b/sway/commands/font.c @@ -1,6 +1,6 @@ #include <string.h> -#include "border.h" -#include "commands.h" +#include "sway/border.h" +#include "sway/commands.h" #include "log.h" #include "stringop.h" diff --git a/sway/commands/for_window.c b/sway/commands/for_window.c @@ -1,6 +1,6 @@ #include <string.h> -#include "commands.h" -#include "criteria.h" +#include "sway/commands.h" +#include "sway/criteria.h" #include "list.h" #include "log.h" #include "stringop.h" diff --git a/sway/commands/fullscreen.c b/sway/commands/fullscreen.c @@ -1,11 +1,11 @@ #include <stdbool.h> #include <string.h> #include <wlc/wlc.h> -#include "commands.h" -#include "container.h" -#include "focus.h" -#include "ipc-server.h" -#include "layout.h" +#include "sway/commands.h" +#include "sway/container.h" +#include "sway/focus.h" +#include "sway/ipc-server.h" +#include "sway/layout.h" struct cmd_results *cmd_fullscreen(int argc, char **argv) { struct cmd_results *error = NULL; diff --git a/sway/commands/gaps.c b/sway/commands/gaps.c @@ -2,10 +2,10 @@ #include <errno.h> #include <stdlib.h> #include <string.h> -#include "commands.h" -#include "container.h" -#include "focus.h" -#include "layout.h" +#include "sway/commands.h" +#include "sway/container.h" +#include "sway/focus.h" +#include "sway/layout.h" struct cmd_results *cmd_gaps(int argc, char **argv) { struct cmd_results *error = NULL; diff --git a/sway/commands/hide_edge_borders.c b/sway/commands/hide_edge_borders.c @@ -1,5 +1,5 @@ #include <string.h> -#include "commands.h" +#include "sway/commands.h" struct cmd_results *cmd_hide_edge_borders(int argc, char **argv) { struct cmd_results *error = NULL; diff --git a/sway/commands/include.c b/sway/commands/include.c @@ -1,5 +1,5 @@ -#include "commands.h" -#include "config.h" +#include "sway/commands.h" +#include "sway/config.h" struct cmd_results *cmd_include(int argc, char **argv) { struct cmd_results *error = NULL; diff --git a/sway/commands/input.c b/sway/commands/input.c @@ -1,6 +1,6 @@ #include <string.h> -#include "commands.h" -#include "input.h" +#include "sway/commands.h" +#include "sway/input.h" #include "log.h" struct cmd_results *cmd_input(int argc, char **argv) { diff --git a/sway/commands/input/accel_profile.c b/sway/commands/input/accel_profile.c @@ -1,6 +1,6 @@ #include <string.h> -#include "commands.h" -#include "input.h" +#include "sway/commands.h" +#include "sway/input.h" struct cmd_results *input_cmd_accel_profile(int argc, char **argv) { struct cmd_results *error = NULL; diff --git a/sway/commands/input/click_method.c b/sway/commands/input/click_method.c @@ -1,6 +1,6 @@ #include <string.h> -#include "commands.h" -#include "input.h" +#include "sway/commands.h" +#include "sway/input.h" #include "log.h" struct cmd_results *input_cmd_click_method(int argc, char **argv) { diff --git a/sway/commands/input/drag_lock.c b/sway/commands/input/drag_lock.c @@ -1,6 +1,6 @@ #include <string.h> -#include "commands.h" -#include "input.h" +#include "sway/commands.h" +#include "sway/input.h" struct cmd_results *input_cmd_drag_lock(int argc, char **argv) { struct cmd_results *error = NULL; diff --git a/sway/commands/input/dwt.c b/sway/commands/input/dwt.c @@ -1,6 +1,6 @@ #include <string.h> -#include "commands.h" -#include "input.h" +#include "sway/commands.h" +#include "sway/input.h" struct cmd_results *input_cmd_dwt(int argc, char **argv) { struct cmd_results *error = NULL; diff --git a/sway/commands/input/events.c b/sway/commands/input/events.c @@ -1,6 +1,6 @@ #include <string.h> -#include "commands.h" -#include "input.h" +#include "sway/commands.h" +#include "sway/input.h" #include "log.h" struct cmd_results *input_cmd_events(int argc, char **argv) { diff --git a/sway/commands/input/middle_emulation.c b/sway/commands/input/middle_emulation.c @@ -1,6 +1,6 @@ #include <string.h> -#include "commands.h" -#include "input.h" +#include "sway/commands.h" +#include "sway/input.h" struct cmd_results *input_cmd_middle_emulation(int argc, char **argv) { struct cmd_results *error = NULL; diff --git a/sway/commands/input/natural_scroll.c b/sway/commands/input/natural_scroll.c @@ -1,6 +1,6 @@ #include <string.h> -#include "commands.h" -#include "input.h" +#include "sway/commands.h" +#include "sway/input.h" struct cmd_results *input_cmd_natural_scroll(int argc, char **argv) { struct cmd_results *error = NULL; diff --git a/sway/commands/input/pointer_accel.c b/sway/commands/input/pointer_accel.c @@ -1,7 +1,7 @@ #include <stdlib.h> #include <string.h> -#include "commands.h" -#include "input.h" +#include "sway/commands.h" +#include "sway/input.h" struct cmd_results *input_cmd_pointer_accel(int argc, char **argv) { struct cmd_results *error = NULL; diff --git a/sway/commands/input/scroll_method.c b/sway/commands/input/scroll_method.c @@ -1,6 +1,6 @@ #include <string.h> -#include "commands.h" -#include "input.h" +#include "sway/commands.h" +#include "sway/input.h" struct cmd_results *input_cmd_scroll_method(int argc, char **argv) { struct cmd_results *error = NULL; diff --git a/sway/commands/input/tap.c b/sway/commands/input/tap.c @@ -1,6 +1,6 @@ #include <string.h> -#include "commands.h" -#include "input.h" +#include "sway/commands.h" +#include "sway/input.h" #include "log.h" struct cmd_results *input_cmd_tap(int argc, char **argv) { diff --git a/sway/commands/kill.c b/sway/commands/kill.c @@ -1,6 +1,6 @@ -#include "commands.h" -#include "container.h" -#include "focus.h" +#include "sway/commands.h" +#include "sway/container.h" +#include "sway/focus.h" struct cmd_results *cmd_kill(int argc, char **argv) { if (config->reading) return cmd_results_new(CMD_FAILURE, "kill", "Can't be used in config file."); diff --git a/sway/commands/layout.c b/sway/commands/layout.c @@ -1,7 +1,7 @@ #include <string.h> -#include "commands.h" -#include "container.h" -#include "layout.h" +#include "sway/commands.h" +#include "sway/container.h" +#include "sway/layout.h" struct cmd_results *cmd_layout(int argc, char **argv) { struct cmd_results *error = NULL; diff --git a/sway/commands/log_colors.c b/sway/commands/log_colors.c @@ -1,5 +1,5 @@ #include <string.h> -#include "commands.h" +#include "sway/commands.h" #include "log.h" struct cmd_results *cmd_log_colors(int argc, char **argv) { diff --git a/sway/commands/mode.c b/sway/commands/mode.c @@ -1,8 +1,8 @@ #include <stdbool.h> #include <string.h> -#include "commands.h" -#include "config.h" -#include "ipc-server.h" +#include "sway/commands.h" +#include "sway/config.h" +#include "sway/ipc-server.h" #include "list.h" #include "log.h" diff --git a/sway/commands/mouse_warping.c b/sway/commands/mouse_warping.c @@ -1,5 +1,5 @@ #include <string.h> -#include "commands.h" +#include "sway/commands.h" struct cmd_results *cmd_mouse_warping(int argc, char **argv) { struct cmd_results *error = NULL; diff --git a/sway/commands/move.c b/sway/commands/move.c @@ -1,11 +1,11 @@ #include <string.h> #include <wlc/wlc.h> -#include "commands.h" -#include "container.h" -#include "layout.h" +#include "sway/commands.h" +#include "sway/container.h" +#include "sway/layout.h" +#include "sway/output.h" +#include "sway/workspace.h" #include "list.h" -#include "output.h" -#include "workspace.h" struct cmd_results *cmd_move(int argc, char **argv) { struct cmd_results *error = NULL; diff --git a/sway/commands/new_float.c b/sway/commands/new_float.c @@ -1,7 +1,7 @@ #include <errno.h> #include <string.h> -#include "commands.h" -#include "container.h" +#include "sway/commands.h" +#include "sway/container.h" struct cmd_results *cmd_new_float(int argc, char **argv) { struct cmd_results *error = NULL; diff --git a/sway/commands/new_window.c b/sway/commands/new_window.c @@ -1,7 +1,7 @@ #include <errno.h> #include <string.h> -#include "commands.h" -#include "container.h" +#include "sway/commands.h" +#include "sway/container.h" struct cmd_results *cmd_new_window(int argc, char **argv) { struct cmd_results *error = NULL; diff --git a/sway/commands/orientation.c b/sway/commands/orientation.c @@ -1,5 +1,5 @@ #include <string.h> -#include "commands.h" +#include "sway/commands.h" struct cmd_results *cmd_orientation(int argc, char **argv) { struct cmd_results *error = NULL; diff --git a/sway/commands/output.c b/sway/commands/output.c @@ -4,8 +4,8 @@ #include <string.h> #include <unistd.h> #include <wordexp.h> -#include "commands.h" -#include "config.h" +#include "sway/commands.h" +#include "sway/config.h" #include "list.h" #include "log.h" #include "stringop.h" diff --git a/sway/commands/reload.c b/sway/commands/reload.c @@ -1,6 +1,6 @@ -#include "commands.h" -#include "config.h" -#include "layout.h" +#include "sway/commands.h" +#include "sway/config.h" +#include "sway/layout.h" struct cmd_results *cmd_reload(int argc, char **argv) { struct cmd_results *error = NULL; diff --git a/sway/commands/resize.c b/sway/commands/resize.c @@ -2,9 +2,9 @@ #include <stdbool.h> #include <stdlib.h> #include <string.h> -#include "commands.h" +#include "sway/commands.h" +#include "sway/resize.h" #include "log.h" -#include "resize.h" static struct cmd_results *cmd_resize_set(int argc, char **argv) { struct cmd_results *error = NULL; diff --git a/sway/commands/scratchpad.c b/sway/commands/scratchpad.c @@ -1,9 +1,9 @@ #include <string.h> #include <wlc/wlc.h> -#include "commands.h" -#include "container.h" -#include "focus.h" -#include "layout.h" +#include "sway/commands.h" +#include "sway/container.h" +#include "sway/focus.h" +#include "sway/layout.h" static swayc_t *fetch_view_from_scratchpad() { if (sp_index >= scratchpad->length) { diff --git a/sway/commands/seamless_mouse.c b/sway/commands/seamless_mouse.c @@ -1,5 +1,5 @@ #include <string.h> -#include "commands.h" +#include "sway/commands.h" struct cmd_results *cmd_seamless_mouse(int argc, char **argv) { struct cmd_results *error = NULL; diff --git a/sway/commands/set.c b/sway/commands/set.c @@ -1,7 +1,7 @@ #include <stdio.h> #include <string.h> -#include "commands.h" -#include "config.h" +#include "sway/commands.h" +#include "sway/config.h" #include "list.h" #include "stringop.h" diff --git a/sway/commands/smart_gaps.c b/sway/commands/smart_gaps.c @@ -1,5 +1,5 @@ #include <string.h> -#include "commands.h" +#include "sway/commands.h" struct cmd_results *cmd_smart_gaps(int argc, char **argv) { struct cmd_results *error = NULL; diff --git a/sway/commands/split.c b/sway/commands/split.c @@ -1,10 +1,10 @@ #include <string.h> #include <wlc/wlc-render.h> -#include "border.h" -#include "commands.h" -#include "container.h" -#include "focus.h" -#include "layout.h" +#include "sway/border.h" +#include "sway/commands.h" +#include "sway/container.h" +#include "sway/focus.h" +#include "sway/layout.h" #include "log.h" static struct cmd_results *_do_split(int argc, char **argv, int layout) { diff --git a/sway/commands/sticky.c b/sway/commands/sticky.c @@ -1,6 +1,6 @@ #include <string.h> -#include "commands.h" -#include "focus.h" +#include "sway/commands.h" +#include "sway/focus.h" struct cmd_results *cmd_sticky(int argc, char **argv) { struct cmd_results *error = NULL; diff --git a/sway/commands/workspace.c b/sway/commands/workspace.c @@ -1,10 +1,10 @@ #include <string.h> -#include "commands.h" -#include "config.h" -#include "input_state.h" +#include "sway/commands.h" +#include "sway/config.h" +#include "sway/input_state.h" +#include "sway/workspace.h" #include "list.h" #include "log.h" -#include "workspace.h" struct cmd_results *cmd_workspace(int argc, char **argv) { struct cmd_results *error = NULL; diff --git a/sway/commands/workspace_auto_back_and_forth.c b/sway/commands/workspace_auto_back_and_forth.c @@ -1,5 +1,5 @@ #include <string.h> -#include "commands.h" +#include "sway/commands.h" struct cmd_results *cmd_ws_auto_back_and_forth(int argc, char **argv) { struct cmd_results *error = NULL; diff --git a/sway/commands/workspace_layout.c b/sway/commands/workspace_layout.c @@ -1,5 +1,5 @@ #include <string.h> -#include "commands.h" +#include "sway/commands.h" struct cmd_results *cmd_workspace_layout(int argc, char **argv) { struct cmd_results *error = NULL;