Redraw buffer after showing window

For some reason if unpausing via dunstctl the window is invisible until
the next window update. Redrawing the buffer after showing fixes it.

Fixes #827
This commit is contained in:
Nikos Tsipinakis 2021-02-21 12:53:32 +02:00
parent f976c2d44c
commit ace514ffc7

View File

@ -736,6 +736,7 @@ void x_win_show(window winptr)
if (win->visible)
return;
x_shortcut_grab(&settings.close_ks);
x_shortcut_grab(&settings.close_all_ks);
x_shortcut_grab(&settings.context_ks);
@ -757,6 +758,8 @@ void x_win_show(window winptr)
XMapRaised(xctx.dpy, win->xwin);
win->visible = true;
x_display_surface(win->root_surface, win, &win->dim);
}
/*