提交 97697373 编写于 作者: B Brad Hards 提交者: Stefan Hajnoczi

event: trivial coding style fixes

Signed-off-by: NBrad Hards <bradh@frogmouth.net>
Signed-off-by: NStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
上级 f95857b3
...@@ -161,15 +161,15 @@ void kbd_mouse_event(int dx, int dy, int dz, int buttons_state) ...@@ -161,15 +161,15 @@ void kbd_mouse_event(int dx, int dy, int dz, int buttons_state)
if (mouse_event) { if (mouse_event) {
if (graphic_rotate) { if (graphic_rotate) {
if (entry->qemu_put_mouse_event_absolute) if (entry->qemu_put_mouse_event_absolute) {
width = 0x7fff; width = 0x7fff;
else } else {
width = graphic_width - 1; width = graphic_width - 1;
mouse_event(mouse_event_opaque, }
width - dy, dx, dz, buttons_state); mouse_event(mouse_event_opaque, width - dy, dx, dz, buttons_state);
} else } else {
mouse_event(mouse_event_opaque, mouse_event(mouse_event_opaque, dx, dy, dz, buttons_state);
dx, dy, dz, buttons_state); }
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册