From 9e8dd45164af05a5dab00324dd10b037f5bd1e2a Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Mon, 20 Jun 2011 14:06:26 +0200 Subject: 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 Signed-off-by: Anthony Liguori --- ui/sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/sdl.c') 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) { -- cgit v1.2.1