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:
Jens Peters 2024-11-02 15:59:33 +01:00 committed by Hiroaki Yamamoto
parent d1cde3c435
commit fc774d0071
6 changed files with 52 additions and 2 deletions

View file

@ -108,6 +108,7 @@ struct seat {
* (in that case the client is expected to set its own cursor image).
*/
enum lab_cursors server_cursor;
bool cursor_visible;
struct wlr_cursor *cursor;
struct wlr_xcursor_manager *xcursor_manager;
struct {