diff -Naur xfce4-settings-4.9.0~/xfsettingsd/xsettings.c xfce4-settings-4.9.0/xfsettingsd/xsettings.c --- xfce4-settings-4.9.0~/xfsettingsd/xsettings.c 2011-05-25 19:23:21.000000000 +0200 +++ xfce4-settings-4.9.0/xfsettingsd/xsettings.c 2012-01-30 16:24:36.740554376 +0100 @@ -615,7 +615,7 @@ /* special case for dpi */ if (strcmp (name, "Xft.dpi:") == 0) - num = CLAMP (num, DPI_LOW_REASONABLE, DPI_HIGH_REASONABLE) * 1024; + num = CLAMP (num, DPI_LOW_REASONABLE, DPI_HIGH_REASONABLE); g_snprintf (s, sizeof (s), "%d", num); str = s; @@ -845,7 +845,7 @@ if (num < 1) notify->dpi_offset = needle - notify->buf; else - num = CLAMP (num, DPI_LOW_REASONABLE, DPI_HIGH_REASONABLE) * 1024; + num = CLAMP (num, DPI_LOW_REASONABLE, DPI_HIGH_REASONABLE); } } else @@ -853,7 +853,7 @@ num = g_value_get_boolean (setting->value); } - *(INT32 *)needle = num; + *(INT32 *)needle = num * 1024; needle += 4; break;