aboutsummaryrefslogtreecommitdiff
path: root/include/sway/input
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-09-14 21:12:56 -0400
committerGitHub <noreply@github.com>2018-09-14 21:12:56 -0400
commitb47f4f5fd4b8dc3852c5958f3e6ec70de448ff2d (patch)
tree90b2a21c3a1cf5e0cdb8ef720081e7acfce64eee /include/sway/input
parent3b92d5bb6dcaf6b8fa9b51d9cf879e68d67ee1fb (diff)
parent64d567be9b4a1341bca165f02354e077a2f112fb (diff)
downloadsway-b47f4f5fd4b8dc3852c5958f3e6ec70de448ff2d.tar.xz
Merge pull request #2630 from emersion/wlroots-1243
Update for swaywm/wlroots#1243
Diffstat (limited to 'include/sway/input')
-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 @@
#ifndef _SWAY_INPUT_SEAT_H
#define _SWAY_INPUT_SEAT_H
-#include <wlr/types/wlr_layer_shell.h>
+#include <wlr/types/wlr_layer_shell_v1.h>
#include <wlr/types/wlr_seat.h>
#include <wlr/util/edges.h>
#include "sway/input/input-manager.h"
@@ -53,7 +53,7 @@ struct sway_seat {
struct wl_list focus_stack; // list of containers in focus order
// If the focused layer is set, views cannot receive keyboard focus
- struct wlr_layer_surface *focused_layer;
+ struct wlr_layer_surface_v1 *focused_layer;
// If exclusive_client is set, no other clients will receive input events
struct wl_client *exclusive_client;
@@ -119,7 +119,7 @@ void seat_set_focus_surface(struct sway_seat *seat,
struct wlr_surface *surface, bool unfocus);
void seat_set_focus_layer(struct sway_seat *seat,
- struct wlr_layer_surface *layer);
+ struct wlr_layer_surface_v1 *layer);
void seat_set_exclusive_client(struct sway_seat *seat,
struct wl_client *client);