mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -05:00
layer-shell: add _v1 suffix
This commit is contained in:
parent
769a8e9917
commit
fc960e5d06
12 changed files with 115 additions and 115 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue