diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2009-11-12 19:57:34 +0200 |
---|---|---|
committer | Yaniv Kamay <ykamay@redhat.com> | 2009-11-15 13:41:10 +0200 |
commit | a461f0655f1d97503fe854d285da95c306d7edf8 (patch) | |
tree | ca7a0b9376209c2198cb1cd9e6cedcf90a41270f /client/screen.h | |
parent | 39153191258c4a37e4e61241c3149f7ca08e217c (diff) | |
download | spice-a461f0655f1d97503fe854d285da95c306d7edf8.tar.gz spice-a461f0655f1d97503fe854d285da95c306d7edf8.tar.xz spice-a461f0655f1d97503fe854d285da95c306d7edf8.zip |
spice client: sticky Alt activation when holding an Alt key: bug #505912.
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(); |