map canvas before moving window
Otherwise on higher load it could happen that for a short moment there's only a black box shown.
This commit is contained in:
parent
afe456c0ba
commit
2c2f5d2d31
2
dunst.c
2
dunst.c
@ -696,9 +696,9 @@ void draw_win(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* move and map window */
|
/* move and map window */
|
||||||
|
mapdc(dc, win, width, height);
|
||||||
XResizeWindow(dc->dpy, win, width, height);
|
XResizeWindow(dc->dpy, win, width, height);
|
||||||
XMoveWindow(dc->dpy, win, x, y);
|
XMoveWindow(dc->dpy, win, x, y);
|
||||||
mapdc(dc, win, width, height);
|
|
||||||
|
|
||||||
free(x_more.txt);
|
free(x_more.txt);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user