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)
commitdcbac76cfba0908f637a2139e8ee011f5df58b89
tree1a03fd9ba7ccd71623c65822fca61db01b2790d9
parente5b84a2760f957d9a6731637d2c065fef1d4305f
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