aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-01-19 09:43:02 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-05-07 12:55:04 +0200
commit2e467efb20a3e22d7d9bb941be7375f10cb84f66 (patch)
tree9ddcfb4041af9bcdbcdee7e5070ad51442f1d7c4 /nx-X11/programs
parentde46c64ec1036a91014f6b0384d9f5038cd30cc6 (diff)
downloadnx-libs-2e467efb20a3e22d7d9bb941be7375f10cb84f66.tar.gz
nx-libs-2e467efb20a3e22d7d9bb941be7375f10cb84f66.tar.bz2
nx-libs-2e467efb20a3e22d7d9bb941be7375f10cb84f66.zip
Splash.c: always paint background over the whole window
Was wrong when scale was different from 1
Diffstat (limited to 'nx-X11/programs')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Splash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Splash.c b/nx-X11/programs/Xserver/hw/nxagent/Splash.c
index f4c25efc4..a34591d7a 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Splash.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Splash.c
@@ -211,9 +211,9 @@ void nxagentPaintLogo(XlibWindow win, int scale, int width, int height)
XPoint rect[4];
rect[0].x = 0; rect[0].y = 0;
- rect[1].x = 0; rect[1].y = h;
- rect[2].x = w; rect[2].y = h;
- rect[3].x = w; rect[3].y = 0;
+ rect[1].x = 0; rect[1].y = height;
+ rect[2].x = width; rect[2].y = height;
+ rect[3].x = width; rect[3].y = 0;
/* paint background */
XFillPolygon(nxagentDisplay, nxagentPixmapLogo, gc, rect, 4, Convex, CoordModeOrigin);