diff options
author | Arnon Gilboa <agilboa@redhat.com> | 2009-12-30 12:19:54 +0200 |
---|---|---|
committer | Yaniv Kamay <ykamay@redhat.com> | 2009-12-30 22:09:25 +0200 |
commit | 02a07b2c067e629749cbe8a9f9cfbfb487a512d7 (patch) | |
tree | e73f6dc72a73b158369aa62e7220bd787eafcdc2 /client/application.h | |
parent | c57bcf6f4433446b858867712ece4abec4fb5c3d (diff) | |
download | spice-02a07b2c067e629749cbe8a9f9cfbfb487a512d7.tar.gz spice-02a07b2c067e629749cbe8a9f9cfbfb487a512d7.tar.xz spice-02a07b2c067e629749cbe8a9f9cfbfb487a512d7.zip |
spice: on_activate_screen generates on_key_down for any modifier pressed
-call SetWindowsHookEx(WH_KEYBOARD_LL, LowLevelKeyboardProc...) only once, in RedWindow::init()
-add Application::cleanup_globals() & RedWindow::cleanup()
-cleanup LowLevelKeyboardProc()
Diffstat (limited to 'client/application.h')
-rw-r--r-- | client/application.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/application.h b/client/application.h index 5c607025..5fa93358 100644 --- a/client/application.h +++ b/client/application.h @@ -265,9 +265,11 @@ private: bool unpress_key(RedKey key); void reset_sticky(); static bool is_sticky_trace_key(RedKey key); + void sync_keyboard_modifiers(); static void init_logger(); static void init_globals(); + static void cleanup_globals(); friend class DisconnectedEvent; friend class ConnectionErrorEvent; |