Winit: X11 stuck in drag'n'drop mode after dragging element above window

Created on 28 Oct 2018  路  2Comments  路  Source: rust-windowing/winit

When dragging a Firefox tab across a winit window, X11 will get stuck in drag'n'drop mode, but the dragged item gets lost. So it's not possible to just go back to Firefox and drop the tab again.

In i3, this makes it impossible to kill windows, change workspace, spawn windows, or do anything really. The only way to fix this problem is by killing Firefox.

This doesn't seem to be a Firefox issue, but is reproducible with other drag'n'drop things like files or text (Engrampa, Gedit have been tested).

Alacritty issue as reference: https://github.com/jwilm/alacritty/issues/1713

X11 in progress bug

Most helpful comment

Thanks for bringing this to my attention! X11 drag-and-drop was my first ever contribution to winit, so I'm glad to have an excuse to recheck my old work.

This fixed the problem for me when testing on Compiz: #688

All 2 comments

Thanks for bringing this to my attention! X11 drag-and-drop was my first ever contribution to winit, so I'm glad to have an excuse to recheck my old work.

This fixed the problem for me when testing on Compiz: #688

Thanks for the timely fix!

Was this page helpful?
0 / 5 - 0 ratings