Searched refs:surf_h (Results 1 – 1 of 1) sorted by relevance
491 int scr_w, scr_h, surf_w, surf_h, x, y, dx, dy; in handle_mousemotion() local513 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()