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
|
|
@ -141,7 +141,7 @@ render_decorations(struct wlr_output *output, struct view *view)
|
|||
draw_rect(&ddata, deco_box(view, LAB_DECO_PART_TITLE));
|
||||
|
||||
/* button background */
|
||||
struct wlr_cursor *cur = view->server->cursor;
|
||||
struct wlr_cursor *cur = view->server->seat.cursor;
|
||||
enum deco_part deco_part = deco_at(view, cur->x, cur->y);
|
||||
|
||||
struct wlr_box box = deco_box(view, deco_part);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue