You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
x11 running two window creation/deletion panics #421
It seems that FocusOut and ConfigureNotify events are sent after window deletion.
A solution would be to return when windows.get_mut(..) returns None on those events. Or maybe on all events.
This appears to be a duplicate of #414, which means this should be resolved by #416.
(Also, this isn't related to your issue, but as general usage advice, my understanding is that you should only create one EventsLoop and use it for all windows.)
Activity
[-]x11 create running two window creation/deletion panic[/-][+]x11 running two window creation/deletion panic[/+][-]x11 running two window creation/deletion panic[/-][+]x11 running two window creation/deletion panics[/+]francesca64 commentedon Mar 15, 2018
This appears to be a duplicate of #414, which means this should be resolved by #416.
(Also, this isn't related to your issue, but as general usage advice, my understanding is that you should only create one
EventsLoopand use it for all windows.)gui1117 commentedon Mar 15, 2018
#416 doesn't solve the issue panic happens at https://github.com/francesca64/winit/blob/x11-drop-window/src/platform/linux/x11/mod.rs#L375
(i agree for one eventsloop)
francesca64 commentedon Mar 15, 2018
I've updated the code such that all cases should be covered now. Does everything work fine now?
gui1117 commentedon Mar 15, 2018
yes thanks !
francesca64 commentedon Mar 23, 2018
Fixed via #416
Auto merge of rust-windowing#421 - pcwalton:canvas-nested-clip-paths,…