summaryrefslogtreecommitdiffstats
path: root/client/red_window.h
diff options
context:
space:
mode:
authorArnon Gilboa <agilboa@redhat.com>2009-12-30 12:19:54 +0200
committerYaniv Kamay <ykamay@redhat.com>2009-12-30 22:09:25 +0200
commit02a07b2c067e629749cbe8a9f9cfbfb487a512d7 (patch)
treee73f6dc72a73b158369aa62e7220bd787eafcdc2 /client/red_window.h
parentc57bcf6f4433446b858867712ece4abec4fb5c3d (diff)
downloadspice-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/red_window.h')
-rw-r--r--client/red_window.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/red_window.h b/client/red_window.h
index 3c7ac77b..5721c53a 100644
--- a/client/red_window.h
+++ b/client/red_window.h
@@ -86,6 +86,7 @@ public:
void unset_type_gl();
static void init();
+ static void cleanup();
Listener& get_listener() { return _listener;}