summaryrefslogtreecommitdiffstats
path: root/client/red_window.h
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2009-11-12 19:57:34 +0200
committerYaniv Kamay <ykamay@redhat.com>2010-01-03 17:34:26 +0200
commit0d93ce342c5b063c7cc36fcb7fb31fbecbbad608 (patch)
treea15ed1302b04eb9e924e4ccc50066ffdebfc2d30 /client/red_window.h
parentf046cd839d8e29ed841ee956b68540d3ac9ba6be (diff)
downloadspice-0d93ce342c5b063c7cc36fcb7fb31fbecbbad608.tar.gz
spice-0d93ce342c5b063c7cc36fcb7fb31fbecbbad608.tar.xz
spice-0d93ce342c5b063c7cc36fcb7fb31fbecbbad608.zip
spice client: sticky Alt activation when holding an Alt key
Additional changes that were required for the feature: 1) focusing on the pointed window in full screen mode 2) In X11 - handling events that occur during keyboard ungrabbing 3) In X11 - handling Leave/Enter Notify events that occur during keyboard grabbing/ungrabbing 4) In X11 - fix for focus events that are handled in the wrong order (happens when focus events occur during grabbing the keyboard) 5) In X11 - ignoring key release events during key holding 6) In Windows - synchronizing keyboard release events that occured during a modal loop
Diffstat (limited to 'client/red_window.h')
-rw-r--r--client/red_window.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/red_window.h b/client/red_window.h
index e3565765..0d3e781a 100644
--- a/client/red_window.h
+++ b/client/red_window.h
@@ -106,7 +106,8 @@ private:
bool _cursor_visible;
bool _focused;
bool _pointer_in_window;
- bool _key_interception;
+ bool _trace_key_interception;
+ bool _key_interception_on;
Menu* _menu;
friend class RedWindow_p;