From 2c2f5d2d31df3c8be830817bfbdc75234d66762f Mon Sep 17 00:00:00 2001 From: Sascha Kruse Date: Sat, 15 Sep 2012 16:01:39 +0200 Subject: [PATCH] map canvas before moving window Otherwise on higher load it could happen that for a short moment there's only a black box shown. --- dunst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dunst.c b/dunst.c index 530e489..5ae33e0 100644 --- a/dunst.c +++ b/dunst.c @@ -696,9 +696,9 @@ void draw_win(void) } /* move and map window */ + mapdc(dc, win, width, height); XResizeWindow(dc->dpy, win, width, height); XMoveWindow(dc->dpy, win, x, y); - mapdc(dc, win, width, height); free(x_more.txt); }