Hide the mouse cursor if it isn’t being used

This commit is contained in:
Guido Cella 2023-05-03 10:46:00 +02:00
parent 797e0c74b2
commit e9823d972c
2 changed files with 39 additions and 2 deletions

View file

@ -90,6 +90,8 @@ LIBINPUT_CONFIG_TAP_MAP_LMR -- 1/2/3 finger tap maps to left/middle/right
*/
static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TAP_MAP_LRM;
static const int cursor_timeout = 5;
/* If you want to use the windows key for MODKEY, use WLR_MODIFIER_LOGO */
#define MODKEY WLR_MODIFIER_ALT