Fix internal events not being delivered to some Window types

`AcceptDialog`, `Popup` and `PopupMenu` no longer subscribe to
"window_input" signal, because that is only sent if it is not an
internal signal.

Instead they receive events in `_input_from_window`. They ensure that
the event is also propagated to their super-function, just like
previously the signals would be treated.
This commit is contained in:
Markus Sauermann 2023-09-01 08:40:35 +02:00
parent c455cb6555
commit fa02d19fd1
8 changed files with 22 additions and 13 deletions

View file

@ -239,6 +239,7 @@ protected:
virtual void _post_popup() {}
virtual void _update_theme_item_cache();
virtual void _input_from_window(const Ref<InputEvent> &p_event) {}
void _notification(int p_what);
static void _bind_methods();