Peter Hutterer <[email protected]> writes:

> Alan Coopersmith (1):
>       Xext: avoid null-pointer dereference in XTestFakeInput (#59937)
>
> Andreas Wettstein (1):
>       xkb: Fix repeat behaviour of redirect and message actions
>
> Carlos Garnacho (1):
>       dix: Set focus field on XI2 crossing events
>
> Peter Hutterer (15):
>       test/signal-logging: simplify tests using sprintf
>       os: silently ignore length modifiers in pnprintf
>       os: add support for %f to pnprintf

I added a patch to fix the fraction display -- it was truncating instead
of rounding (yay C float->int conversion!).

--- a/os/utils.c
+++ b/os/utils.c
@@ -1999,7 +1999,7 @@ FormatDouble(double dbl, char *string)
     int slen = 0;
     uint64_t frac;
 
-    frac = (dbl > 0 ? dbl : -dbl) * 100.0;
+    frac = (dbl > 0 ? dbl : -dbl) * 100.0 + 0.5;
     frac %= 100;
 
>       dmx: don't include dmx-config.h from xdmxconfig (#37502)
>       Xi: limit valuator copy to valuator array size (#59939)
>       include: fix typo in list description
>       Xext: pass the current screen to miProcessDeviceEvent() from xtest calls
>       Xext: if a root window is given in XTestFakeInput, move to that
>       dix: fix ptraccel debugging printfs
>       dix: add some more info to a ptraccel debug msg
>       dix: use BUG_RETURN_VAL for an error message
>       dix: unify prefix for ptraccel debugging in DebugAccelF macro
>       dix: pre-scale relative events from abs devices to desktop ratio 
> (#31636)
>       Merge branch 'ptraccel-fixes' into for-keith
>       dix: when shutting down slave devices, shut down xtest devices last
>
> Sybren van Elderen (1):
>       dix: when scaling from desktop coord, take the total desktop size 
> (#51904)
>
> Ted Felix (1):
>       xfree86: bail on misformed acpi strings (#73227)

Keith Packard (1):
    os: Round fraction in pnprintf %f format

Merged.
   7fe5e6d..b173eb2  master -> master

-- 
[email protected]

Attachment: pgpYM0zUo8SzP.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to