fixes to Xephyr debug mode

This commit is contained in:
Matthew Allum 2004-09-07 12:44:19 +00:00
parent b332225781
commit 8bf6ea903b

View File

@ -460,7 +460,7 @@ hostx_paint_debug_rect(int x, int y,
{
struct timespec tspec;
tspec.tv_sec = HostX.damage_debug_msec / (10e6);
tspec.tv_sec = HostX.damage_debug_msec / (1000000);
tspec.tv_nsec = (HostX.damage_debug_msec % 1000000) * 1000;
EPHYR_DBG("msec: %li tv_sec %li, tv_msec %li",