From cab11848181a2b0a8390948e9fc197cba20ea60d Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Fri, 1 Jul 2022 08:02:23 +0200 Subject: [PATCH] app: [Wayland] don't process resize gestures when decorated 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 69c5ced4..656f997e 100644 --- a/app/os_wayland.go +++ b/app/os_wayland.go @@ -1576,7 +1576,7 @@ func (w *window) onPointerMotion(x, y C.wl_fixed_t, t C.uint32_t) { // updateCursor updates the system gesture cursor according to the pointer // position. func (w *window) systemGesture() (*C.struct_wl_cursor, C.uint32_t) { - if w.config.Mode != Windowed { + if w.config.Mode != Windowed || w.config.Decorated { return nil, 0 } border := w.w.w.metric.Dp(5)