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>2010-01-03 17:55:32 +0200
commit4202ee3945bdcbe78326562b49817c086dc67e18 (patch)
tree3243083507043f72924a7651c71d0a5af94167b6 /client/platform.h
parent8ce343daa08d2807428f71f552e22ab5319f8aea (diff)
downloadspice-4202ee3945bdcbe78326562b49817c086dc67e18.tar.gz
spice-4202ee3945bdcbe78326562b49817c086dc67e18.tar.xz
spice-4202ee3945bdcbe78326562b49817c086dc67e18.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 c32b8634..ff89181b 100644
--- a/client/platform.h
+++ b/client/platform.h
@@ -100,6 +100,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();