[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] Fix new mouse handler activation
From: |
Konstantin Khlebnikov |
Subject: |
[Qemu-devel] [PATCH] Fix new mouse handler activation |
Date: |
Sun, 20 Jun 2010 15:39:03 +0400 |
User-agent: |
StGit/0.15 |
Activate newly added mouse event handles, as it was before commit 6fef28ee6e
This patch will at least fix vmmouse, which was broken by that commit.
Signed-off-by: Konstantin Khlebnikov <address@hidden>
---
input.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/input.c b/input.c
index 651442d..da44773 100644
--- a/input.c
+++ b/input.c
@@ -75,7 +75,7 @@ QEMUPutMouseEntry
*qemu_add_mouse_event_handler(QEMUPutMouseEvent *func,
s->qemu_put_mouse_event_name = qemu_strdup(name);
s->index = mouse_index++;
- QTAILQ_INSERT_TAIL(&mouse_handlers, s, node);
+ QTAILQ_INSERT_HEAD(&mouse_handlers, s, node);
check_mode_change();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH] Fix new mouse handler activation,
Konstantin Khlebnikov <=