*y* [center|value] Equivalent for the vertical warp position within the target area.
Default is "center"
+*<action name="HideCursor" />*
+ Hide the pointer or stylus cursor. The cursor becomes visible again on following
+ pointer actions, stylus actions or touchpad gestures.
+ Use together with the WarpCursor action to not just hide the cursor but to
+ additionally move it away to prevent e.g. hover effects.
+
*<action name="EnableTabletMouseEmulation" />*++
*<action name="DisableTabletMouseEmulation" />*++
*<action name="ToggleTabletMouseEmulation">*
ACTION_TYPE_ZOOM_IN,
ACTION_TYPE_ZOOM_OUT,
ACTION_TYPE_WARP_CURSOR,
+ ACTION_TYPE_HIDE_CURSOR,
};
const char *action_names[] = {
"ZoomIn",
"ZoomOut",
"WarpCursor",
+ "HideCursor",
NULL
};
warp_cursor(view, output, to, x, y);
}
break;
+ case ACTION_TYPE_HIDE_CURSOR:
+ cursor_set_visible(&server->seat, false);
+ break;
case ACTION_TYPE_INVALID:
wlr_log(WLR_ERROR, "Not executing unknown action");
break;