summaryrefslogtreecommitdiffstats
path: root/client/platform.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/platform.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/platform.h')
-rw-r--r--client/platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/platform.h b/client/platform.h
index 07777c07..1b4ef435 100644
--- a/client/platform.h
+++ b/client/platform.h
@@ -101,6 +101,8 @@ public:
static uint32_t get_keyboard_modifiers();
+ static void reset_cursor_pos();
+
static LocalCursor* create_local_cursor(CursorData* cursor_data);
static LocalCursor* create_inactive_cursor();
static LocalCursor* create_default_cursor();