diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2020-08-22 17:50:06 +0200 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2020-08-26 18:14:36 +0200 |
commit | bb306750ce8e0973229109be3536c6574cf960bd (patch) | |
tree | ee42480e6d9bc4b6130da5f8301e6a7e8daf4932 /scene/2d/sprite_2d.cpp | |
parent | 5315bff002fe3a7c4dadec6255446e9a2aaa0b16 (diff) |
Fix WINDOW_EVENT_FOCUS_IN for popups on Windows
On Windows, WINDOW_EVENT_FOCUS_IN was never sent by the display server
for popups, because WM_ACTIVATE events are received during the call to
_update_window_style, which happened before the callbacks were set.
This was causing some issues with the way Popup is now handling closing on
parent focus.
Now _update_window_style is only called during show_window, after Window
initialized callbacks.
Diffstat (limited to 'scene/2d/sprite_2d.cpp')
0 files changed, 0 insertions, 0 deletions