merge in latest commits

This commit is contained in:
Zandr Martin 2016-09-02 14:11:48 -05:00
parent 79ffea328c
commit 65ace5dec5
No known key found for this signature in database
GPG Key ID: AA2BB8EF77F7BBDC
74 changed files with 144 additions and 144 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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) {

View File

@ -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"

View File

@ -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;

View File

@ -1,5 +1,5 @@
#include <string.h>
#include "commands.h"
#include "sway/commands.h"
#include "log.h"
#include "stringop.h"

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {

View File

@ -1,5 +1,5 @@
#include <string.h>
#include "commands.h"
#include "sway/commands.h"
#include "log.h"
#include "stringop.h"
#include "util.h"

View File

@ -1,5 +1,5 @@
#include <string.h>
#include "commands.h"
#include "sway/commands.h"
#include "list.h"
#include "log.h"

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {

View File

@ -1,5 +1,5 @@
#include <string.h>
#include "commands.h"
#include "sway/commands.h"
#include "log.h"
#include "stringop.h"

View File

@ -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) {

View File

@ -1,5 +1,5 @@
#include <string.h>
#include "commands.h"
#include "sway/commands.h"
#include "log.h"
#include "stringop.h"

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {

View File

@ -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"

View File

@ -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;

View File

@ -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;

View File

@ -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) {

View File

@ -1,5 +1,5 @@
#include <string.h>
#include "commands.h"
#include "sway/commands.h"
#include "log.h"
#include "stringop.h"

View File

@ -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"

View File

@ -1,5 +1,5 @@
#include "commands.h"
#include "container.h"
#include "sway/commands.h"
#include "sway/container.h"
void sway_terminate(int exit_code);

View File

@ -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"

View File

@ -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) {

View File

@ -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) {

View File

@ -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"

View File

@ -1,5 +1,5 @@
#include <string.h>
#include "commands.h"
#include "sway/commands.h"
#include "log.h"
#include "stringop.h"

View File

@ -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.");

View File

@ -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;

View File

@ -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"

View File

@ -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"

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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) {

View File

@ -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;

View File

@ -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) {

View File

@ -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;

View File

@ -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;

View File

@ -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) {

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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) {

View File

@ -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.");

View File

@ -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;

View File

@ -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) {

View File

@ -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"

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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"

View File

@ -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;

View File

@ -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;

View File

@ -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) {

View File

@ -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;

View File

@ -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"

View File

@ -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;

View File

@ -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) {

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;