Skip to content

Commit

Permalink
Fix dragging with new borders
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Feb 8, 2025
1 parent 5b7a428 commit 5af3f37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/x11/win/frame.go
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ func (f *frame) mousePress(x, y int16, b xproto.Button) {
return ok
},
)
if obj != nil {
if _, ok := obj.(desktop.Cursorable); ok { // a button
f.ignoreDrag = true
return
}
Expand Down

0 comments on commit 5af3f37

Please sign in to comment.