aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-01-20 11:44:34 -0500
committerTony Crisci <tony@dubstepdish.com>2018-01-20 11:44:34 -0500
commitcc3c713889e529c74888d9cd89af7039bfbae20c (patch)
treef40da3a0fc2639b6a22bdb0e323106f66d27ec45 /include/sway
parent9e0595f26bcca2a4d0aa735c4cd9fc4f792918bf (diff)
seat config handler context
Diffstat (limited to 'include/sway')
-rw-r--r--include/sway/config.h1
-rw-r--r--include/sway/input/input-manager.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index 1ab96b51..27fae0c6 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -354,6 +354,7 @@ struct sway_config {
// Context for command handlers
struct {
struct input_config *input_config;
+ struct seat_config *seat_config;
} handler_context;
};
diff --git a/include/sway/input/input-manager.h b/include/sway/input/input-manager.h
index 8388f930..58a93fe3 100644
--- a/include/sway/input/input-manager.h
+++ b/include/sway/input/input-manager.h
@@ -5,8 +5,6 @@
#include "sway/config.h"
#include "list.h"
-extern struct seat_config *current_seat_config;
-
/**
* The global singleton input manager
* TODO: make me not a global