From b374c35758777f98e5ddbe4b0dc43bd7c80f36d7 Mon Sep 17 00:00:00 2001 From: Zandr Martin Date: Thu, 1 Sep 2016 21:39:08 -0500 Subject: refactor commands.c --- sway/commands/bar/tray_output.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 sway/commands/bar/tray_output.c (limited to 'sway/commands/bar/tray_output.c') diff --git a/sway/commands/bar/tray_output.c b/sway/commands/bar/tray_output.c new file mode 100644 index 00000000..39b571d0 --- /dev/null +++ b/sway/commands/bar/tray_output.c @@ -0,0 +1,7 @@ +#include "commands.h" +#include "log.h" + +struct cmd_results *bar_cmd_tray_output(int argc, char **argv) { + sway_log(L_ERROR, "Warning: tray_output is not supported on wayland"); + return cmd_results_new(CMD_SUCCESS, NULL, NULL); +} -- cgit v1.2.3 From 65ace5dec5c24695501056376e227fb9b1f84a3a Mon Sep 17 00:00:00 2001 From: Zandr Martin Date: Fri, 2 Sep 2016 14:11:48 -0500 Subject: merge in latest commits --- sway/commands/bar/tray_output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway/commands/bar/tray_output.c') diff --git a/sway/commands/bar/tray_output.c b/sway/commands/bar/tray_output.c index 39b571d0..8a1b5d35 100644 --- 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) { -- cgit v1.2.3