You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Fix sub-menu keyboard navigation.
This commit is contained in:
@@ -3062,7 +3062,7 @@ void DisplayServerX11::_dispatch_input_event(const Ref<InputEvent> &p_event) {
|
||||
Callable::CallError ce;
|
||||
|
||||
{
|
||||
List<WindowID>::Element *E = popup_list.front();
|
||||
List<WindowID>::Element *E = popup_list.back();
|
||||
if (E && Object::cast_to<InputEventKey>(*p_event)) {
|
||||
// Redirect keyboard input to active popup.
|
||||
if (windows.has(E->get())) {
|
||||
|
||||
Reference in New Issue
Block a user