Turn on mouse tracking so text is not selected in the dnd kitten

This commit is contained in:
Kovid Goyal 2026-05-06 17:22:19 +05:30
parent 3d7cda3e21
commit fb7b5d7155
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -168,6 +168,7 @@ func (dnd *dnd) run_loop() (err error) {
if dnd.lp, err = loop.New(); err != nil {
return err
}
dnd.lp.MouseTrackingMode(loop.BUTTONS_AND_DRAG_MOUSE_TRACKING)
dnd.reset_drop()
dnd.lp.OnInitialize = func() (string, error) {