mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
Move server_new_output() to output.c
This commit is contained in:
parent
bc5accb089
commit
298d869092
5 changed files with 55 additions and 54 deletions
|
|
@ -225,3 +225,9 @@ void cursor_frame(struct wl_listener *listener, void *data)
|
|||
/* Notify the client with pointer focus of the frame event. */
|
||||
wlr_seat_pointer_notify_frame(server->seat);
|
||||
}
|
||||
|
||||
void cursor_new(struct server *server, struct wlr_input_device *device)
|
||||
{
|
||||
/* TODO: Configure libinput on device to set tap, acceleration, etc */
|
||||
wlr_cursor_attach_input_device(server->cursor, device);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue