summaryrefslogtreecommitdiff
path: root/include/commands.h
diff options
context:
space:
mode:
authorS. Christoffer Eliesen <[email protected]>2015-10-26 12:20:32 +0100
committerS. Christoffer Eliesen <[email protected]>2015-10-29 17:41:33 +0100
commit78ca6197697d4f07eddf0c544daff85603adab90 (patch)
treee499ab901ab3371d5860e36db086ea8b46e8227e /include/commands.h
parent4799d07ac1bb08a770ee702eb3fd0ab4654f878a (diff)
commands: Learn mouse_warping.
Place mouse at center of focused view when changing to a workspace on a different output, if option is enabled. (This replicates existing i3 option.) This can be triggered in multiple ways: A) via `workspace <name>` which changes output B) via `focus <direction>` which changes output C) via `focus output <name>` which (obviously) changes output
Diffstat (limited to 'include/commands.h')
-rw-r--r--include/commands.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/commands.h b/include/commands.h
index 8e53c74d..f6777930 100644
--- a/include/commands.h
+++ b/include/commands.h
@@ -2,6 +2,7 @@
#define _SWAY_COMMANDS_H
#include <stdbool.h>
#include <json-c/json.h>
+#include <wlc/wlc.h>
#include "config.h"