Home
last modified time | relevance | path

Searched refs:surf_h (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/ui/
H A Dsdl2.c491 int scr_w, scr_h, surf_w, surf_h, x, y, dx, dy; in handle_mousemotion() local
513 surf_h = surface_height(scon->surface); in handle_mousemotion()
515 y = (int64_t)ev->motion.y * surf_h / scr_h; in handle_mousemotion()
517 dy = (int64_t)ev->motion.yrel * surf_h / scr_h; in handle_mousemotion()