1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 21:48:13 +00:00

LibGUI: Fix bad KeyEvent::m_key initializer to unbreak SDL2 port

This commit is contained in:
Andreas Kling 2020-06-04 16:02:40 +02:00
parent b67acf9c88
commit 5be613c9c8

View file

@ -288,7 +288,7 @@ public:
private:
friend class WindowServerConnection;
KeyCode m_key { 0 };
KeyCode m_key { KeyCode::Key_Invalid };
u8 m_modifiers { 0 };
u32 m_scancode { 0 };
String m_text;