seat config handler context

This commit is contained in:
Tony Crisci 2018-01-20 11:44:34 -05:00
parent 9e0595f26b
commit cc3c713889
8 changed files with 31 additions and 8 deletions

View file

@ -354,6 +354,7 @@ struct sway_config {
// Context for command handlers
struct {
struct input_config *input_config;
struct seat_config *seat_config;
} handler_context;
};

View file

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