summaryrefslogtreecommitdiffhomepage
path: root/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dwm.c b/dwm.c
index 2661987..60b25ea 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1483,6 +1483,9 @@ configurenotify(XEvent *e)
#endif // !FAKEFULLSCREEN_PATCH
for (bar = m->bar; bar; bar = bar->next)
XMoveResizeWindow(dpy, bar->win, bar->bx, bar->by, bar->bw, bar->bh);
+ #if BAR_TAGPREVIEW_PATCH
+ createpreview(m);
+ #endif // BAR_TAGPREVIEW_PATCH
}
focus(NULL);
arrange(NULL);
@@ -3770,9 +3773,6 @@ setup(void)
updatebars();
updatestatus();
- #if BAR_TAGPREVIEW_PATCH
- updatepreview();
- #endif // BAR_TAGPREVIEW_PATCH
/* supporting window for NetWMCheck */
wmcheckwin = XCreateSimpleWindow(dpy, root, 0, 0, 1, 1, 0, 0, 0);