aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway')
-rw-r--r--include/sway/input/keyboard.h1
-rw-r--r--include/sway/ipc-server.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/input/keyboard.h b/include/sway/input/keyboard.h
index 90214af9..1ff63c94 100644
--- a/include/sway/input/keyboard.h
+++ b/include/sway/input/keyboard.h
@@ -52,6 +52,7 @@ struct sway_keyboard {
struct sway_seat_device *seat_device;
struct xkb_keymap *keymap;
+ xkb_layout_index_t effective_layout;
struct wl_listener keyboard_key;
struct wl_listener keyboard_modifiers;
diff --git a/include/sway/ipc-server.h b/include/sway/ipc-server.h
index 3c43f74d..bc4f781a 100644
--- a/include/sway/ipc-server.h
+++ b/include/sway/ipc-server.h
@@ -2,6 +2,7 @@
#define _SWAY_IPC_SERVER_H
#include <sys/socket.h>
#include "sway/config.h"
+#include "sway/input/input-manager.h"
#include "sway/tree/container.h"
#include "ipc.h"
@@ -19,5 +20,6 @@ void ipc_event_bar_state_update(struct bar_config *bar);
void ipc_event_mode(const char *mode, bool pango);
void ipc_event_shutdown(const char *reason);
void ipc_event_binding(struct sway_binding *binding);
+void ipc_event_input(const char *change, struct sway_input_device *device);
#endif