forked from joejulian/gio
app: [Wayland] don't process resize gestures when decorated
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user