1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 17:15:21 +02:00

Allow toggling fullscreen without restart and add keybind (#14714)

This commit is contained in:
grorp
2024-06-02 21:05:16 +02:00
committed by GitHub
parent 981d67324b
commit 833bb542fc
14 changed files with 120 additions and 15 deletions

View File

@@ -220,6 +220,9 @@ private:
// often changing keys, and keysListenedFor is expected
// to change seldomly but contain lots of keys.
KeyList keysListenedFor;
// Intentionally not reset by clearInput/releaseAllKeys.
bool fullscreen_is_down = false;
};
class InputHandler