mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
Handle layer surfaces below shell surfaces
This commit is contained in:
parent
a94f4d0edc
commit
37036df822
4 changed files with 23 additions and 10 deletions
|
|
@ -17,7 +17,7 @@ struct roots_seat {
|
|||
double touch_x, touch_y;
|
||||
|
||||
// If the focused layer is set, views cannot receive keyboard focus
|
||||
struct roots_layer_surface *focused_layer;
|
||||
struct wlr_layer_surface *focused_layer;
|
||||
|
||||
struct wl_list views; // roots_seat_view::link
|
||||
bool has_focus;
|
||||
|
|
@ -105,7 +105,7 @@ struct roots_view *roots_seat_get_focus(struct roots_seat *seat);
|
|||
void roots_seat_set_focus(struct roots_seat *seat, struct roots_view *view);
|
||||
|
||||
void roots_seat_set_focus_layer(struct roots_seat *seat,
|
||||
struct roots_layer_surface *layer);
|
||||
struct wlr_layer_surface *layer);
|
||||
|
||||
void roots_seat_cycle_focus(struct roots_seat *seat);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue