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 <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2022-07-01 08:12:21 +02:00
parent 2957d007a2
commit 2adf4efcbd
+1 -1
View File
@@ -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