From ea9af22e62fdae7fc0bd707ef60bcf82ec3c4551 Mon Sep 17 00:00:00 2001 From: Arnon Gilboa Date: Wed, 30 Dec 2009 13:41:58 +0200 Subject: 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() --- client/windows/red_window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/windows/red_window.cpp') 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) -- cgit