diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2009-11-12 19:57:34 +0200 |
---|---|---|
committer | Yaniv Kamay <ykamay@redhat.com> | 2010-01-03 17:34:26 +0200 |
commit | 0d93ce342c5b063c7cc36fcb7fb31fbecbbad608 (patch) | |
tree | a15ed1302b04eb9e924e4ccc50066ffdebfc2d30 /client/screen.h | |
parent | f046cd839d8e29ed841ee956b68540d3ac9ba6be (diff) | |
download | spice-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/screen.h')
-rw-r--r-- | client/screen.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/screen.h b/client/screen.h index 957cece1..b191d099 100644 --- a/client/screen.h +++ b/client/screen.h @@ -136,8 +136,8 @@ private: virtual void on_activate(); virtual void on_pointer_enter(); virtual void on_pointer_leave(); - virtual void on_start_key_interception() { _key_interception = true;} - virtual void on_stop_key_interception() { _key_interception = false;} + virtual void on_start_key_interception(); + virtual void on_stop_key_interception(); virtual void enter_modal_loop(); virtual void exit_modal_loop(); |