summaryrefslogtreecommitdiffstats
path: root/client/windows/red_window_p.h
diff options
context:
space:
mode:
authorArnon Gilboa <agilboa@redhat.com>2009-12-30 13:41:58 +0200
committerYaniv Kamay <ykamay@redhat.com>2009-12-30 22:15:02 +0200
commitea9af22e62fdae7fc0bd707ef60bcf82ec3c4551 (patch)
tree2de4eb88b9b71c49515b0deb8b2be82bfb992546 /client/windows/red_window_p.h
parent02a07b2c067e629749cbe8a9f9cfbfb487a512d7 (diff)
downloadspice-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_p.h')
-rw-r--r--client/windows/red_window_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/windows/red_window_p.h b/client/windows/red_window_p.h
index 4b5655ec..b35de571 100644
--- a/client/windows/red_window_p.h
+++ b/client/windows/red_window_p.h
@@ -56,6 +56,8 @@ protected:
uint32_t _modal_refs;
HMODULE _no_taskmgr_dll;
HHOOK _no_taskmgr_hook;
+ bool _focused;
+ bool _pointer_in_window;
bool _minimized;
bool _valid_pos;
int _x;