mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
input: hide cursor when using touch input
Hide the cursor on touch input and keep the cursur invisible until pointer or tablet input.
This commit is contained in:
parent
d1cde3c435
commit
fc774d0071
6 changed files with 52 additions and 2 deletions
|
|
@ -556,6 +556,7 @@ seat_init(struct server *server)
|
|||
seat->input_method_relay = input_method_relay_create(seat);
|
||||
|
||||
seat->xcursor_manager = NULL;
|
||||
seat->cursor_visible = true;
|
||||
seat->cursor = wlr_cursor_create();
|
||||
if (!seat->cursor) {
|
||||
wlr_log(WLR_ERROR, "unable to create cursor");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue