godot/platform
Anni Ryynänen ae1e2182ec
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.
2024-06-06 20:00:05 +03:00
..
android Merge pull request #92704 from m4gr3d/update_android_editor_activity_layout 2024-06-04 10:10:08 +02:00
ios Merge pull request #92692 from mihe/always-embed-frameworks 2024-06-03 10:36:10 +02:00
linuxbsd Stop color picker tooltip from stealing input events 2024-06-06 20:00:05 +03:00
macos Stop color picker tooltip from stealing input events 2024-06-06 20:00:05 +03:00
web Merge pull request #89033 from bruvzg/doc_end_err 2024-05-28 17:48:42 +02:00
windows Stop color picker tooltip from stealing input events 2024-06-06 20:00:05 +03:00
register_platform_apis.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
SCsub Update pre-commit hooks configuration to use ruff instead of black 2024-05-21 18:02:29 -05:00