aboutsummaryrefslogtreecommitdiff
path: root/ui/spice-input.c
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2011-08-05 10:07:10 +0400
committermalc <av1474@comtv.ru>2011-08-05 10:07:10 +0400
commita67a47d2b559a7733c3f89aeb2d81b19d2c027e4 (patch)
tree146a7b6eebbee1367453fde501d4462ac6d9f8b4 /ui/spice-input.c
parent670acc9bf21474b2a4456a3cd13323e48e35820d (diff)
parent81e34a2401f7ffd519bb7f093e833cb48734169f (diff)
downloadqemu-a67a47d2b559a7733c3f89aeb2d81b19d2c027e4.zip
qemu-a67a47d2b559a7733c3f89aeb2d81b19d2c027e4.tar.gz
qemu-a67a47d2b559a7733c3f89aeb2d81b19d2c027e4.tar.bz2
Merge branch 'master' of git://git.qemu.org/qemu
Diffstat (limited to 'ui/spice-input.c')
-rw-r--r--ui/spice-input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/spice-input.c b/ui/spice-input.c
index 37c8578..75abf5f 100644
--- a/ui/spice-input.c
+++ b/ui/spice-input.c
@@ -178,7 +178,7 @@ static const SpiceTabletInterface tablet_interface = {
.buttons = tablet_buttons,
};
-static void mouse_mode_notifier(Notifier *notifier)
+static void mouse_mode_notifier(Notifier *notifier, void *data)
{
QemuSpicePointer *pointer = container_of(notifier, QemuSpicePointer, mouse_mode);
bool is_absolute = kbd_mouse_is_absolute();
@@ -213,5 +213,5 @@ void qemu_spice_input_init(void)
pointer->absolute = false;
pointer->mouse_mode.notify = mouse_mode_notifier;
qemu_add_mouse_mode_change_notifier(&pointer->mouse_mode);
- mouse_mode_notifier(&pointer->mouse_mode);
+ mouse_mode_notifier(&pointer->mouse_mode, NULL);
}