aboutsummaryrefslogtreecommitdiff
path: root/ui/input.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2013-12-05 11:24:14 +0100
committerGerd Hoffmann <kraxel@redhat.com>2014-03-05 09:52:04 +0100
commita8dfb1c34ffc17d16eebd46442be93d5e8fad44f (patch)
tree91786abb6c4a19267c48c48c47b975b979439abc /ui/input.c
parent4a33f45e2e4c773b47963baf5a8251963bd01e38 (diff)
input: add input_mouse_mode tracepoint
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/input.c')
-rw-r--r--ui/input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/input.c b/ui/input.c
index b8fc6818d2..afc037c3e9 100644
--- a/ui/input.c
+++ b/ui/input.c
@@ -289,6 +289,7 @@ void qemu_input_check_mode_change(void)
is_absolute = qemu_input_is_absolute();
if (is_absolute != current_is_absolute) {
+ trace_input_mouse_mode(is_absolute);
notifier_list_notify(&mouse_mode_notifiers, NULL);
}