aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/seat.h
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-09-14 19:21:44 +0200
committerLibravatar emersion <contact@emersion.fr>2018-09-14 19:21:44 +0200
commit7699c5444c32289a22ce2c57d1daadabed87e7ac (patch)
tree74696e6dd2f405e8629061ee010e14e3d6cf0b37 /include/sway/input/seat.h
parentMerge pull request #2628 from RyanDwyer/remove-rejigger-assertion (diff)
downloadsway-7699c5444c32289a22ce2c57d1daadabed87e7ac.tar.gz
sway-7699c5444c32289a22ce2c57d1daadabed87e7ac.tar.zst
sway-7699c5444c32289a22ce2c57d1daadabed87e7ac.zip
Update for swaywm/wlroots#1243
Diffstat (limited to 'include/sway/input/seat.h')
-rw-r--r--include/sway/input/seat.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h
index e006faba..7b756ef3 100644
--- a/include/sway/input/seat.h
+++ b/include/sway/input/seat.h
@@ -1,7 +1,7 @@
1#ifndef _SWAY_INPUT_SEAT_H 1#ifndef _SWAY_INPUT_SEAT_H
2#define _SWAY_INPUT_SEAT_H 2#define _SWAY_INPUT_SEAT_H
3 3
4#include <wlr/types/wlr_layer_shell.h> 4#include <wlr/types/wlr_layer_shell_v1.h>
5#include <wlr/types/wlr_seat.h> 5#include <wlr/types/wlr_seat.h>
6#include <wlr/util/edges.h> 6#include <wlr/util/edges.h>
7#include "sway/input/input-manager.h" 7#include "sway/input/input-manager.h"
@@ -53,7 +53,7 @@ struct sway_seat {
53 struct wl_list focus_stack; // list of containers in focus order 53 struct wl_list focus_stack; // list of containers in focus order
54 54
55 // If the focused layer is set, views cannot receive keyboard focus 55 // If the focused layer is set, views cannot receive keyboard focus
56 struct wlr_layer_surface *focused_layer; 56 struct wlr_layer_surface_v1 *focused_layer;
57 57
58 // If exclusive_client is set, no other clients will receive input events 58 // If exclusive_client is set, no other clients will receive input events
59 struct wl_client *exclusive_client; 59 struct wl_client *exclusive_client;
@@ -119,7 +119,7 @@ void seat_set_focus_surface(struct sway_seat *seat,
119 struct wlr_surface *surface, bool unfocus); 119 struct wlr_surface *surface, bool unfocus);
120 120
121void seat_set_focus_layer(struct sway_seat *seat, 121void seat_set_focus_layer(struct sway_seat *seat,
122 struct wlr_layer_surface *layer); 122 struct wlr_layer_surface_v1 *layer);
123 123
124void seat_set_exclusive_client(struct sway_seat *seat, 124void seat_set_exclusive_client(struct sway_seat *seat,
125 struct wl_client *client); 125 struct wl_client *client);