diff --git a/app/os_wayland.go b/app/os_wayland.go index 9670cbf8..bd3e3a32 100644 --- a/app/os_wayland.go +++ b/app/os_wayland.go @@ -1620,7 +1620,8 @@ 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(3) + _, cfg := w.getConfig() + border := cfg.Dp(3) x, y, size := int(w.lastPos.X), int(w.lastPos.Y), w.config.Size north := y <= border south := y >= size.Y-border