app: [Wayland] don't process resize gestures when decorated

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2022-07-01 08:02:23 +02:00
parent a5f8aa35e1
commit cab1184818
+1 -1
View File
@@ -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)