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>2010-01-03 17:51:17 +0200
commit8ce343daa08d2807428f71f552e22ab5319f8aea (patch)
treefb319753001d23fda2cb174de30db4d1b6539f8f /client/red_window.h
parentd8a3c2c12a306eb814cebe8dac894950652f441a (diff)
downloadspice-8ce343daa08d2807428f71f552e22ab5319f8aea.tar.gz
spice-8ce343daa08d2807428f71f552e22ab5319f8aea.tar.xz
spice-8ce343daa08d2807428f71f552e22ab5319f8aea.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 0d3e781a..6f51f70e 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;}