aboutsummaryrefslogtreecommitdiff
path: root/rootston/cursor.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-09-14 19:32:33 +0200
committeremersion <contact@emersion.fr>2018-09-14 19:32:33 +0200
commitfc960e5d060c78015e0037616ac568cbd7d64b07 (patch)
tree626ae757ddb3359ffd4a5d6900022c1c91adc40c /rootston/cursor.c
parent769a8e9917ab0f04404843fb712a6b0b0434c966 (diff)
layer-shell: add _v1 suffix
Diffstat (limited to 'rootston/cursor.c')
-rw-r--r--rootston/cursor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rootston/cursor.c b/rootston/cursor.c
index 9a9f9af6..2b8d9a3e 100644
--- a/rootston/cursor.c
+++ b/rootston/cursor.c
@@ -275,8 +275,8 @@ static void roots_cursor_press_button(struct roots_cursor *cursor,
roots_seat_set_focus(seat, view);
}
if (surface && wlr_surface_is_layer_surface(surface)) {
- struct wlr_layer_surface *layer =
- wlr_layer_surface_from_wlr_surface(surface);
+ struct wlr_layer_surface_v1 *layer =
+ wlr_layer_surface_v1_from_wlr_surface(surface);
if (layer->current.keyboard_interactive) {
roots_seat_set_focus_layer(seat, layer);
}