diff options
author | Keith Packard <keithp@keithp.com> | 2014-03-25 16:54:40 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-04-13 15:24:42 -0700 |
commit | a2f8e2cf966156b2ce93e16068c31e088c578eda (patch) | |
tree | 27e59a1b34e10a6a3fbc58be8ec7da54b63e0744 | |
parent | 3e9ee84d8ce39c3f8cbc598c4105dcc9da9a7c15 (diff) |
Set position of the status window based on perf window pos
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/1>
-rw-r--r-- | x11perf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 = |