steamcompmgr: don't use 'd' suffix on float constant.

Fixes clang build error.
This commit is contained in:
Oschowa 2020-09-02 16:58:59 +02:00 committed by Pierre-Loup A. Griffais
parent 1ecb8d3b46
commit 9d6b37ee22

View file

@ -1098,7 +1098,7 @@ paint_all(Display *dpy, MouseCursor *cursor)
double newOpacity = ((currentTime - fadeOutStartTime) / (double)FADE_OUT_DURATION);
// Draw it in the background
fadeOutWindow.opacity = (1.0d - newOpacity) * OPAQUE;
fadeOutWindow.opacity = (1.0 - newOpacity) * OPAQUE;
paint_window(dpy, &fadeOutWindow, &composite, &pipeline, False, cursor);
w = find_win(dpy, currentFocusWindow);