diff options
author | Arnon Gilboa <agilboa@redhat.com> | 2009-12-30 13:41:58 +0200 |
---|---|---|
committer | Yaniv Kamay <ykamay@redhat.com> | 2009-12-30 22:15:02 +0200 |
commit | ea9af22e62fdae7fc0bd707ef60bcf82ec3c4551 (patch) | |
tree | 2de4eb88b9b71c49515b0deb8b2be82bfb992546 /client/windows/red_window.cpp | |
parent | 02a07b2c067e629749cbe8a9f9cfbfb487a512d7 (diff) | |
download | spice-ea9af22e62fdae7fc0bd707ef60bcf82ec3c4551.tar.gz spice-ea9af22e62fdae7fc0bd707ef60bcf82ec3c4551.tar.xz spice-ea9af22e62fdae7fc0bd707ef60bcf82ec3c4551.zip |
spice: position mouse in primary monitor center after full screen toggle
-move _focused & _pointer_in_window from RedWindow to RedWindow_p's
-move shadow focus & cursor handling to sync()
-add reset_cursor_pos() to Platform
-Monitor set_mode()/restore() use virtual do_set_mode()/do_restore()
Diffstat (limited to 'client/windows/red_window.cpp')
-rw-r--r-- | client/windows/red_window.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/windows/red_window.cpp b/client/windows/red_window.cpp index 14a7d291..47467194 100644 --- a/client/windows/red_window.cpp +++ b/client/windows/red_window.cpp @@ -327,6 +327,8 @@ RedWindow_p::RedWindow_p() , _modal_refs (0) , _no_taskmgr_dll (NULL) , _no_taskmgr_hook (NULL) + , _focused (false) + , _pointer_in_window (false) , _minimized (false) , _valid_pos (false) , _sys_menu (NULL) @@ -406,8 +408,6 @@ RedWindow::RedWindow(RedWindow::Listener& listener, int screen_id) , _type (TYPE_NORMAL) , _local_cursor (NULL) , _cursor_visible (true) - , _focused (false) - , _pointer_in_window (false) , _trace_key_interception (false) , _key_interception_on (false) , _menu (NULL) |