diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2020-08-21 16:11:20 +0200 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2020-08-22 18:42:42 +0200 |
commit | 6d1ef8efacd70a2fc7209f1aeed3156b14b62604 (patch) | |
tree | 2d15556fb6012b52c29d9a96dd214597b4409916 /servers/rendering_server.cpp | |
parent | 2b49cb0b7397e3ba14aede1d6d4d28bf17b816bd (diff) |
Fix popup closed when an ancestor window is focused
Previously, only the direct parent were taken into account.
Popups like contextual menus could stay open if an ancestor which is
not a direct parent was focused.
Reproduction steps (any platform):
- Select a node in the scene tree
- Left click the node to start renaming
- Right click to open the copy/paste contextual menu
- Left click in the scene tree to deselect the node
Also closing popup when focusing out of the application, without waiting
for the parent to get focus to do so.
Diffstat (limited to 'servers/rendering_server.cpp')
0 files changed, 0 insertions, 0 deletions