From 2adf4efcbd458a068542ed6f95ae824364a40ddd Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Fri, 1 Jul 2022 08:12:21 +0200 Subject: [PATCH] app: [Wayland] shrink reize gesture area As reported by Chris Waldon, the resize area is big enough to make it hard or impossible to grab and drag any scroll bars. Signed-off-by: Elias Naur --- app/os_wayland.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/os_wayland.go b/app/os_wayland.go index 68cb9b03..2b54f53f 100644 --- a/app/os_wayland.go +++ b/app/os_wayland.go @@ -1581,7 +1581,7 @@ func (w *window) systemGesture() (*C.struct_wl_cursor, C.uint32_t) { if w.config.Mode != Windowed || w.config.Decorated { return nil, 0 } - border := w.w.w.metric.Dp(5) + border := w.w.w.metric.Dp(3) x, y, size := int(w.lastPos.X), int(w.lastPos.Y), w.config.Size north := y <= border south := y >= size.Y-border