godot icon indicating copy to clipboard operation
godot copied to clipboard

Fix lost input events with popups and multiple windows on linuxbsd

Open Sauermann opened this issue 3 years ago • 0 comments

fix linuxbsd variant of #66016

In the following setting

  • Root Window (don't embed windows)
    • Popup
    • Secondary Window

Mouse-Button-Down events in the Secondary Window were lost, because they were used for trying to close the Popup.

This PR makes DisplayServerX11::mouse_process_popups aware of multiple windows and tries to close them only if no other window was targeted.

Please review with care, because I am touching areas, I am not familiar with.

Sauermann avatar Dec 05 '22 21:12 Sauermann