mirror of
https://github.com/swaywm/sway.git
synced 2024-11-14 06:24:20 +01:00
merge in latest commits
This commit is contained in:
parent
79ffea328c
commit
65ace5dec5
@ -1,7 +1,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "criteria.h"
|
#include "sway/criteria.h"
|
||||||
#include "list.h"
|
#include "list.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "config.h"
|
#include "sway/config.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
struct cmd_results *bar_cmd_binding_mode_indicator(int argc, char **argv) {
|
struct cmd_results *bar_cmd_binding_mode_indicator(int argc, char **argv) {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "config.h"
|
#include "sway/config.h"
|
||||||
#include "list.h"
|
#include "list.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "stringop.h"
|
#include "stringop.h"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
|
|
||||||
struct cmd_results *bar_cmd_colors(int argc, char **argv) {
|
struct cmd_results *bar_cmd_colors(int argc, char **argv) {
|
||||||
struct cmd_results *error = NULL;
|
struct cmd_results *error = NULL;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "stringop.h"
|
#include "stringop.h"
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
struct cmd_results *bar_cmd_height(int argc, char **argv) {
|
struct cmd_results *bar_cmd_height(int argc, char **argv) {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "config.h"
|
#include "sway/config.h"
|
||||||
#include "ipc-server.h"
|
#include "sway/ipc-server.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
static struct cmd_results *bar_set_hidden_state(struct bar_config *bar, const char *hidden_state) {
|
static struct cmd_results *bar_set_hidden_state(struct bar_config *bar, const char *hidden_state) {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
struct cmd_results *bar_cmd_id(int argc, char **argv) {
|
struct cmd_results *bar_cmd_id(int argc, char **argv) {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "config.h"
|
#include "sway/config.h"
|
||||||
#include "ipc-server.h"
|
#include "sway/ipc-server.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
static struct cmd_results *bar_set_mode(struct bar_config *bar, const char *mode) {
|
static struct cmd_results *bar_set_mode(struct bar_config *bar, const char *mode) {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "stringop.h"
|
#include "stringop.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "list.h"
|
#include "list.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
struct cmd_results *bar_cmd_pango_markup(int argc, char **argv) {
|
struct cmd_results *bar_cmd_pango_markup(int argc, char **argv) {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
struct cmd_results *bar_cmd_position(int argc, char **argv) {
|
struct cmd_results *bar_cmd_position(int argc, char **argv) {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
struct cmd_results *bar_cmd_separator_symbol(int argc, char **argv) {
|
struct cmd_results *bar_cmd_separator_symbol(int argc, char **argv) {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "stringop.h"
|
#include "stringop.h"
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
struct cmd_results *bar_cmd_strip_workspace_numbers(int argc, char **argv) {
|
struct cmd_results *bar_cmd_strip_workspace_numbers(int argc, char **argv) {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "stringop.h"
|
#include "stringop.h"
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
struct cmd_results *bar_cmd_tray_output(int argc, char **argv) {
|
struct cmd_results *bar_cmd_tray_output(int argc, char **argv) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
struct cmd_results *bar_cmd_tray_padding(int argc, char **argv) {
|
struct cmd_results *bar_cmd_tray_padding(int argc, char **argv) {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
struct cmd_results *bar_cmd_workspace_buttons(int argc, char **argv) {
|
struct cmd_results *bar_cmd_workspace_buttons(int argc, char **argv) {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
struct cmd_results *bar_cmd_wrap_scroll(int argc, char **argv) {
|
struct cmd_results *bar_cmd_wrap_scroll(int argc, char **argv) {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include <xkbcommon/xkbcommon.h>
|
#include <xkbcommon/xkbcommon.h>
|
||||||
#include <xkbcommon/xkbcommon-names.h>
|
#include <xkbcommon/xkbcommon-names.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "config.h"
|
#include "sway/config.h"
|
||||||
#include "list.h"
|
#include "list.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "stringop.h"
|
#include "stringop.h"
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "container.h"
|
#include "sway/container.h"
|
||||||
#include "focus.h"
|
#include "sway/focus.h"
|
||||||
|
|
||||||
struct cmd_results *cmd_border(int argc, char **argv) {
|
struct cmd_results *cmd_border(int argc, char **argv) {
|
||||||
struct cmd_results *error = NULL;
|
struct cmd_results *error = NULL;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.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) {
|
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;
|
struct cmd_results *error = NULL;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
struct cmd_results *cmd_debuglog(int argc, char **argv) {
|
struct cmd_results *cmd_debuglog(int argc, char **argv) {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "stringop.h"
|
#include "stringop.h"
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "config.h"
|
#include "sway/config.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "stringop.h"
|
#include "stringop.h"
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "container.h"
|
#include "sway/container.h"
|
||||||
|
|
||||||
void sway_terminate(int exit_code);
|
void sway_terminate(int exit_code);
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "container.h"
|
#include "sway/container.h"
|
||||||
#include "ipc-server.h"
|
#include "sway/ipc-server.h"
|
||||||
#include "layout.h"
|
#include "sway/layout.h"
|
||||||
#include "list.h"
|
#include "list.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
struct cmd_results *cmd_floating_maximum_size(int argc, char **argv) {
|
struct cmd_results *cmd_floating_maximum_size(int argc, char **argv) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
struct cmd_results *cmd_floating_minimum_size(int argc, char **argv) {
|
struct cmd_results *cmd_floating_minimum_size(int argc, char **argv) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "input_state.h"
|
#include "sway/input_state.h"
|
||||||
#include "list.h"
|
#include "list.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "stringop.h"
|
#include "stringop.h"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "stringop.h"
|
#include "stringop.h"
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <wlc/wlc.h>
|
#include <wlc/wlc.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "container.h"
|
#include "sway/container.h"
|
||||||
#include "focus.h"
|
#include "sway/focus.h"
|
||||||
#include "input_state.h"
|
#include "sway/input_state.h"
|
||||||
#include "output.h"
|
#include "sway/output.h"
|
||||||
#include "workspace.h"
|
#include "sway/workspace.h"
|
||||||
|
|
||||||
struct cmd_results *cmd_focus(int argc, char **argv) {
|
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.");
|
if (config->reading) return cmd_results_new(CMD_FAILURE, "focus", "Can't be used in config file.");
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
|
|
||||||
struct cmd_results *cmd_focus_follows_mouse(int argc, char **argv) {
|
struct cmd_results *cmd_focus_follows_mouse(int argc, char **argv) {
|
||||||
struct cmd_results *error = NULL;
|
struct cmd_results *error = NULL;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "border.h"
|
#include "sway/border.h"
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "stringop.h"
|
#include "stringop.h"
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "criteria.h"
|
#include "sway/criteria.h"
|
||||||
#include "list.h"
|
#include "list.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "stringop.h"
|
#include "stringop.h"
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <wlc/wlc.h>
|
#include <wlc/wlc.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "container.h"
|
#include "sway/container.h"
|
||||||
#include "focus.h"
|
#include "sway/focus.h"
|
||||||
#include "ipc-server.h"
|
#include "sway/ipc-server.h"
|
||||||
#include "layout.h"
|
#include "sway/layout.h"
|
||||||
|
|
||||||
struct cmd_results *cmd_fullscreen(int argc, char **argv) {
|
struct cmd_results *cmd_fullscreen(int argc, char **argv) {
|
||||||
struct cmd_results *error = NULL;
|
struct cmd_results *error = NULL;
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "container.h"
|
#include "sway/container.h"
|
||||||
#include "focus.h"
|
#include "sway/focus.h"
|
||||||
#include "layout.h"
|
#include "sway/layout.h"
|
||||||
|
|
||||||
struct cmd_results *cmd_gaps(int argc, char **argv) {
|
struct cmd_results *cmd_gaps(int argc, char **argv) {
|
||||||
struct cmd_results *error = NULL;
|
struct cmd_results *error = NULL;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
|
|
||||||
struct cmd_results *cmd_hide_edge_borders(int argc, char **argv) {
|
struct cmd_results *cmd_hide_edge_borders(int argc, char **argv) {
|
||||||
struct cmd_results *error = NULL;
|
struct cmd_results *error = NULL;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "config.h"
|
#include "sway/config.h"
|
||||||
|
|
||||||
struct cmd_results *cmd_include(int argc, char **argv) {
|
struct cmd_results *cmd_include(int argc, char **argv) {
|
||||||
struct cmd_results *error = NULL;
|
struct cmd_results *error = NULL;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "input.h"
|
#include "sway/input.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
struct cmd_results *cmd_input(int argc, char **argv) {
|
struct cmd_results *cmd_input(int argc, char **argv) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "input.h"
|
#include "sway/input.h"
|
||||||
|
|
||||||
struct cmd_results *input_cmd_accel_profile(int argc, char **argv) {
|
struct cmd_results *input_cmd_accel_profile(int argc, char **argv) {
|
||||||
struct cmd_results *error = NULL;
|
struct cmd_results *error = NULL;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "input.h"
|
#include "sway/input.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
struct cmd_results *input_cmd_click_method(int argc, char **argv) {
|
struct cmd_results *input_cmd_click_method(int argc, char **argv) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "input.h"
|
#include "sway/input.h"
|
||||||
|
|
||||||
struct cmd_results *input_cmd_drag_lock(int argc, char **argv) {
|
struct cmd_results *input_cmd_drag_lock(int argc, char **argv) {
|
||||||
struct cmd_results *error = NULL;
|
struct cmd_results *error = NULL;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "input.h"
|
#include "sway/input.h"
|
||||||
|
|
||||||
struct cmd_results *input_cmd_dwt(int argc, char **argv) {
|
struct cmd_results *input_cmd_dwt(int argc, char **argv) {
|
||||||
struct cmd_results *error = NULL;
|
struct cmd_results *error = NULL;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "input.h"
|
#include "sway/input.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
struct cmd_results *input_cmd_events(int argc, char **argv) {
|
struct cmd_results *input_cmd_events(int argc, char **argv) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "input.h"
|
#include "sway/input.h"
|
||||||
|
|
||||||
struct cmd_results *input_cmd_middle_emulation(int argc, char **argv) {
|
struct cmd_results *input_cmd_middle_emulation(int argc, char **argv) {
|
||||||
struct cmd_results *error = NULL;
|
struct cmd_results *error = NULL;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "input.h"
|
#include "sway/input.h"
|
||||||
|
|
||||||
struct cmd_results *input_cmd_natural_scroll(int argc, char **argv) {
|
struct cmd_results *input_cmd_natural_scroll(int argc, char **argv) {
|
||||||
struct cmd_results *error = NULL;
|
struct cmd_results *error = NULL;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "input.h"
|
#include "sway/input.h"
|
||||||
|
|
||||||
struct cmd_results *input_cmd_pointer_accel(int argc, char **argv) {
|
struct cmd_results *input_cmd_pointer_accel(int argc, char **argv) {
|
||||||
struct cmd_results *error = NULL;
|
struct cmd_results *error = NULL;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "input.h"
|
#include "sway/input.h"
|
||||||
|
|
||||||
struct cmd_results *input_cmd_scroll_method(int argc, char **argv) {
|
struct cmd_results *input_cmd_scroll_method(int argc, char **argv) {
|
||||||
struct cmd_results *error = NULL;
|
struct cmd_results *error = NULL;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "input.h"
|
#include "sway/input.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
struct cmd_results *input_cmd_tap(int argc, char **argv) {
|
struct cmd_results *input_cmd_tap(int argc, char **argv) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "container.h"
|
#include "sway/container.h"
|
||||||
#include "focus.h"
|
#include "sway/focus.h"
|
||||||
|
|
||||||
struct cmd_results *cmd_kill(int argc, char **argv) {
|
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.");
|
if (config->reading) return cmd_results_new(CMD_FAILURE, "kill", "Can't be used in config file.");
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "container.h"
|
#include "sway/container.h"
|
||||||
#include "layout.h"
|
#include "sway/layout.h"
|
||||||
|
|
||||||
struct cmd_results *cmd_layout(int argc, char **argv) {
|
struct cmd_results *cmd_layout(int argc, char **argv) {
|
||||||
struct cmd_results *error = NULL;
|
struct cmd_results *error = NULL;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
struct cmd_results *cmd_log_colors(int argc, char **argv) {
|
struct cmd_results *cmd_log_colors(int argc, char **argv) {
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "config.h"
|
#include "sway/config.h"
|
||||||
#include "ipc-server.h"
|
#include "sway/ipc-server.h"
|
||||||
#include "list.h"
|
#include "list.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
|
|
||||||
struct cmd_results *cmd_mouse_warping(int argc, char **argv) {
|
struct cmd_results *cmd_mouse_warping(int argc, char **argv) {
|
||||||
struct cmd_results *error = NULL;
|
struct cmd_results *error = NULL;
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <wlc/wlc.h>
|
#include <wlc/wlc.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "container.h"
|
#include "sway/container.h"
|
||||||
#include "layout.h"
|
#include "sway/layout.h"
|
||||||
|
#include "sway/output.h"
|
||||||
|
#include "sway/workspace.h"
|
||||||
#include "list.h"
|
#include "list.h"
|
||||||
#include "output.h"
|
|
||||||
#include "workspace.h"
|
|
||||||
|
|
||||||
struct cmd_results *cmd_move(int argc, char **argv) {
|
struct cmd_results *cmd_move(int argc, char **argv) {
|
||||||
struct cmd_results *error = NULL;
|
struct cmd_results *error = NULL;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "container.h"
|
#include "sway/container.h"
|
||||||
|
|
||||||
struct cmd_results *cmd_new_float(int argc, char **argv) {
|
struct cmd_results *cmd_new_float(int argc, char **argv) {
|
||||||
struct cmd_results *error = NULL;
|
struct cmd_results *error = NULL;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "container.h"
|
#include "sway/container.h"
|
||||||
|
|
||||||
struct cmd_results *cmd_new_window(int argc, char **argv) {
|
struct cmd_results *cmd_new_window(int argc, char **argv) {
|
||||||
struct cmd_results *error = NULL;
|
struct cmd_results *error = NULL;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
|
|
||||||
struct cmd_results *cmd_orientation(int argc, char **argv) {
|
struct cmd_results *cmd_orientation(int argc, char **argv) {
|
||||||
struct cmd_results *error = NULL;
|
struct cmd_results *error = NULL;
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <wordexp.h>
|
#include <wordexp.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "config.h"
|
#include "sway/config.h"
|
||||||
#include "list.h"
|
#include "list.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "stringop.h"
|
#include "stringop.h"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "config.h"
|
#include "sway/config.h"
|
||||||
#include "layout.h"
|
#include "sway/layout.h"
|
||||||
|
|
||||||
struct cmd_results *cmd_reload(int argc, char **argv) {
|
struct cmd_results *cmd_reload(int argc, char **argv) {
|
||||||
struct cmd_results *error = NULL;
|
struct cmd_results *error = NULL;
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
|
#include "sway/resize.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "resize.h"
|
|
||||||
|
|
||||||
static struct cmd_results *cmd_resize_set(int argc, char **argv) {
|
static struct cmd_results *cmd_resize_set(int argc, char **argv) {
|
||||||
struct cmd_results *error = NULL;
|
struct cmd_results *error = NULL;
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <wlc/wlc.h>
|
#include <wlc/wlc.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "container.h"
|
#include "sway/container.h"
|
||||||
#include "focus.h"
|
#include "sway/focus.h"
|
||||||
#include "layout.h"
|
#include "sway/layout.h"
|
||||||
|
|
||||||
static swayc_t *fetch_view_from_scratchpad() {
|
static swayc_t *fetch_view_from_scratchpad() {
|
||||||
if (sp_index >= scratchpad->length) {
|
if (sp_index >= scratchpad->length) {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
|
|
||||||
struct cmd_results *cmd_seamless_mouse(int argc, char **argv) {
|
struct cmd_results *cmd_seamless_mouse(int argc, char **argv) {
|
||||||
struct cmd_results *error = NULL;
|
struct cmd_results *error = NULL;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "config.h"
|
#include "sway/config.h"
|
||||||
#include "list.h"
|
#include "list.h"
|
||||||
#include "stringop.h"
|
#include "stringop.h"
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
|
|
||||||
struct cmd_results *cmd_smart_gaps(int argc, char **argv) {
|
struct cmd_results *cmd_smart_gaps(int argc, char **argv) {
|
||||||
struct cmd_results *error = NULL;
|
struct cmd_results *error = NULL;
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <wlc/wlc-render.h>
|
#include <wlc/wlc-render.h>
|
||||||
#include "border.h"
|
#include "sway/border.h"
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "container.h"
|
#include "sway/container.h"
|
||||||
#include "focus.h"
|
#include "sway/focus.h"
|
||||||
#include "layout.h"
|
#include "sway/layout.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
static struct cmd_results *_do_split(int argc, char **argv, int layout) {
|
static struct cmd_results *_do_split(int argc, char **argv, int layout) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "focus.h"
|
#include "sway/focus.h"
|
||||||
|
|
||||||
struct cmd_results *cmd_sticky(int argc, char **argv) {
|
struct cmd_results *cmd_sticky(int argc, char **argv) {
|
||||||
struct cmd_results *error = NULL;
|
struct cmd_results *error = NULL;
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
#include "config.h"
|
#include "sway/config.h"
|
||||||
#include "input_state.h"
|
#include "sway/input_state.h"
|
||||||
|
#include "sway/workspace.h"
|
||||||
#include "list.h"
|
#include "list.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "workspace.h"
|
|
||||||
|
|
||||||
struct cmd_results *cmd_workspace(int argc, char **argv) {
|
struct cmd_results *cmd_workspace(int argc, char **argv) {
|
||||||
struct cmd_results *error = NULL;
|
struct cmd_results *error = NULL;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <string.h>
|
#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 *cmd_ws_auto_back_and_forth(int argc, char **argv) {
|
||||||
struct cmd_results *error = NULL;
|
struct cmd_results *error = NULL;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "commands.h"
|
#include "sway/commands.h"
|
||||||
|
|
||||||
struct cmd_results *cmd_workspace_layout(int argc, char **argv) {
|
struct cmd_results *cmd_workspace_layout(int argc, char **argv) {
|
||||||
struct cmd_results *error = NULL;
|
struct cmd_results *error = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user