Platform/Unix/X11Keyboard: only update state and signal key down if we have a focused window.
This commit is contained in:
parent
6c96a3d9a1
commit
080c4f77c3
2 changed files with 21 additions and 3 deletions
|
|
@ -27,6 +27,7 @@ protected :
|
|||
|
||||
private :
|
||||
::Display* m_disp;
|
||||
::Window m_win; // Focused window
|
||||
|
||||
// Cached keyboard state.
|
||||
char m_key_state[32];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue