Wayland: Fix refresh rate, exposed as mHz instead of Hz.

This commit is contained in:
Emmanuel Gil Peyrot 2015-10-24 00:52:10 +01:00
parent af5b82acf5
commit dd5d47c4fe

View File

@ -69,7 +69,7 @@ static void mode(void* data,
mode.base.width = width; mode.base.width = width;
mode.base.height = height; mode.base.height = height;
mode.base.refreshRate = refresh; mode.base.refreshRate = refresh / 1000;
mode.flags = flags; mode.flags = flags;
if (monitor->wl.modesCount + 1 >= monitor->wl.modesSize) if (monitor->wl.modesCount + 1 >= monitor->wl.modesSize)