mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 09:55:40 +00:00
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
|
// updateCursor updates the system gesture cursor according to the pointer
|
||||||
// position.
|
// position.
|
||||||
func (w *window) systemGesture() (*C.struct_wl_cursor, C.uint32_t) {
|
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
|
return nil, 0
|
||||||
}
|
}
|
||||||
border := w.w.w.metric.Dp(5)
|
border := w.w.w.metric.Dp(5)
|
||||||
|
|||||||
Reference in New Issue
Block a user