mirror of
https://github.com/godotengine/godot.git
synced 2025-02-17 08:10:42 +00:00
Merge pull request #40105 from Logharaa/master
Stop looping as soon as the first window that has focus is found
This commit is contained in:
commit
9828fcc01a
@ -2364,6 +2364,7 @@ void DisplayServerX11::process_events() {
|
||||
for (Map<WindowID, WindowData>::Element *E = windows.front(); E; E = E->next()) {
|
||||
if (E->get().focused) {
|
||||
focus_found = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user