summaryrefslogtreecommitdiffstats
path: root/ui/sdl.c
diff options
context:
space:
mode:
authorJan Kiszka2011-06-20 14:06:26 +0200
committerAnthony Liguori2011-07-23 18:26:06 +0200
commit9e8dd45164af05a5dab00324dd10b037f5bd1e2a (patch)
tree5dad08a23d9b4661ab5f7abba83427f6fc8498d9 /ui/sdl.c
parentide: Turn properties any IDE device must have into bus properties (diff)
downloadqemu-9e8dd45164af05a5dab00324dd10b037f5bd1e2a.tar.gz
qemu-9e8dd45164af05a5dab00324dd10b037f5bd1e2a.tar.xz
qemu-9e8dd45164af05a5dab00324dd10b037f5bd1e2a.zip
notifier: Pass data argument to callback
This allows to pass additional information to the notifier callback which is useful if sender and receiver do not share any other distinct data structure. Will be used first for the clock reset notifier. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'ui/sdl.c')
-rw-r--r--ui/sdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/sdl.c b/ui/sdl.c
index f2bd4a035b..6dbc5cb0ed 100644
--- a/ui/sdl.c
+++ b/ui/sdl.c
@@ -481,7 +481,7 @@ static void sdl_grab_end(void)
sdl_update_caption();
}
-static void sdl_mouse_mode_change(Notifier *notify)
+static void sdl_mouse_mode_change(Notifier *notify, void *data)
{
if (kbd_mouse_is_absolute()) {
if (!absolute_enabled) {