From a2f8e2cf966156b2ce93e16068c31e088c578eda Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 25 Mar 2014 16:54:40 -0700 Subject: Set position of the status window based on perf window pos Part-of: --- x11perf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x11perf.c b/x11perf.c index a32fe55..a77316d 100644 --- a/x11perf.c +++ b/x11perf.c @@ -1292,7 +1292,7 @@ main(int argc, char *argv[]) HSy = HEIGHT-1; if (window_y + 1 + HEIGHT > DisplayHeight(xparms.d, screen)) HSy = DisplayHeight(xparms.d, screen) - (1 + window_y + 1); - status = CreatePerfWindow(&xparms, window_x, HEIGHT+5, WIDTH, 20); + status = CreatePerfWindow(&xparms, window_x, window_y + HEIGHT+3, WIDTH, 20); tgcv.foreground = AllocateColor(xparms.d, "black", BlackPixel(xparms.d, screen)); tgcv.background = -- cgit v1.2.3