apply hints before initial mapping (ICCCM) (843cfe)

This commit is contained in:
bakkeby 2020-03-24 14:17:17 +01:00
parent c90ac5e476
commit be0f0d56e5
1 changed files with 1 additions and 1 deletions

2
x.c
View File

@ -1357,8 +1357,8 @@ xinit(int cols, int rows)
win.mode = MODE_NUMLOCK; win.mode = MODE_NUMLOCK;
resettitle(); resettitle();
XMapWindow(xw.dpy, xw.win);
xhints(); xhints();
XMapWindow(xw.dpy, xw.win);
XSync(xw.dpy, False); XSync(xw.dpy, False);
clock_gettime(CLOCK_MONOTONIC, &xsel.tclick1); clock_gettime(CLOCK_MONOTONIC, &xsel.tclick1);