sdl: Refactor sdl_send_mouse_event
authorJan Kiszka <jan.kiszka@siemens.com>
Sat, 30 Jul 2011 09:39:18 +0000 (11:39 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 5 Aug 2011 15:57:36 +0000 (10:57 -0500)
commit9510a486381c073a98d96db85b1102313fea9e03
tree1a03fd9ba7ccd71623c65822fca61db01b2790d9
parent1ae1caf1c54c8fe93bdaf557ea07cf5d26156b2a
sdl: Refactor sdl_send_mouse_event

Replace width/height globals with the identical values from real_screen,
refactor the function according to our coding style.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
ui/sdl.c