mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
Refactor seat.c, keyboard.c, cursor.c
Use wlr_keyboard_group
This commit is contained in:
parent
a4c22f7c4d
commit
25829d122c
9 changed files with 288 additions and 267 deletions
|
|
@ -275,8 +275,8 @@ server_new_layer_surface(struct wl_listener *listener, void *data)
|
|||
struct wlr_layer_surface_v1 *layer_surface = data;
|
||||
if (!layer_surface->output) {
|
||||
struct wlr_output *output = wlr_output_layout_output_at(
|
||||
server->output_layout, server->cursor->x,
|
||||
server->cursor->y);
|
||||
server->output_layout, server->seat.cursor->x,
|
||||
server->seat.cursor->y);
|
||||
layer_surface->output = output;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue