mirror of
https://github.com/godotengine/godot.git
synced 2025-01-22 10:32:54 -05:00
Merge pull request #101819 from Riteo/wl-embarassingly-easy
Wayland: Release pressed events on application focus out
This commit is contained in:
commit
e062cd254d
1 changed files with 1 additions and 0 deletions
|
@ -1174,6 +1174,7 @@ void DisplayServerWayland::process_events() {
|
||||||
if (OS::get_singleton()->get_main_loop()) {
|
if (OS::get_singleton()->get_main_loop()) {
|
||||||
OS::get_singleton()->get_main_loop()->notification(MainLoop::NOTIFICATION_APPLICATION_FOCUS_OUT);
|
OS::get_singleton()->get_main_loop()->notification(MainLoop::NOTIFICATION_APPLICATION_FOCUS_OUT);
|
||||||
}
|
}
|
||||||
|
Input::get_singleton()->release_pressed_events();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue