mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-03-22 05:34:01 -04:00
Do not display a cursor on output creation
Now we don't display a cursor unless a pointer device is connected. Fixes #2
This commit is contained in:
parent
fd4ff669dd
commit
a9818c0df1
3 changed files with 1 additions and 5 deletions
2
output.c
2
output.c
|
|
@ -169,8 +169,6 @@ handle_new_output(struct wl_listener *listener, void *data)
|
|||
wlr_output->name,
|
||||
wlr_output->scale);
|
||||
}
|
||||
wlr_xcursor_manager_set_cursor_image(server->seat->xcursor_manager, DEFAULT_XCURSOR,
|
||||
server->seat->cursor);
|
||||
|
||||
/* Place the cursor in the center of the screen. */
|
||||
wlr_cursor_warp(server->seat->cursor, NULL, wlr_output->width / 2, wlr_output->height / 2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue