diff options
author | Anni Ryynänen <anni@anniryynanen.com> | 2024-06-06 20:00:05 +0300 |
---|---|---|
committer | Anni Ryynänen <anni@anniryynanen.com> | 2024-06-06 20:00:05 +0300 |
commit | ae1e2182ec756293b650ea6493df1883f822158f (patch) | |
tree | e85da7e10004d2d04000f0c2035f663f69b4a33c /platform/javascript/audio_driver_javascript.cpp | |
parent | e96ad5af98547df71b50c4c4695ac348638113e0 (diff) | |
download | redot-engine-ae1e2182ec756293b650ea6493df1883f822158f.tar.gz |
Stop color picker tooltip from stealing input events
Input events go to the tooltip because it's added to `popup_list` in
DisplayServer `popup_open`. I think there's no harm in tooltips being omitted
from the list, so this commit blocks non-popup windows from being added if they
have `FLAG_NO_FOCUS` and `FLAG_MOUSE_PASSTHROUGH`.
I'm not happy with this way of detecting tooltips. It'll also catch other
windows where this behavior may or may not be wanted.
I thought about adding `FLAG_TOOLTIP`, but went with the smaller change for
now.
Fixes #79500.
Diffstat (limited to 'platform/javascript/audio_driver_javascript.cpp')
0 files changed, 0 insertions, 0 deletions