diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 4ce543a18d..4b6696838a 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -6335,8 +6335,8 @@ them. ``--wayland-edge-pixels-pointer=`` Defines the size of an edge border (default: 16) to initiate client side - resize events in the wayland contexts with the mouse. This is only active if - there are no server side decorations from the compositor. + resize events in the wayland contexts with the mouse or tablet. This is only + active if there are no server side decorations from the compositor. ``--wayland-edge-pixels-touch=`` Defines the size of an edge border (default: 32) to initiate client side diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index 202d1b2d0f..25a440cbe6 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -709,7 +709,7 @@ static void tablet_tool_handle_down(void *data, enum xdg_toplevel_resize_edge edge; if (!mp_input_test_dragging(wl->vo->input_ctx, wl->mouse_x, wl->mouse_y) && !wl->locked_size && !wl->opts->border && - check_for_resize(wl, wl->opts->wl_edge_pixels_touch, &edge)) + check_for_resize(wl, wl->opts->wl_edge_pixels_pointer, &edge)) { xdg_toplevel_resize(wl->xdg_toplevel, tablet_tool->seat->seat, serial, edge); return;