sowm: fix current

This commit is contained in:
Dylan Araps
2019-10-19 10:27:18 +03:00
parent 84119dd331
commit 589bb768d9
+2 -1
View File
@@ -247,11 +247,12 @@ void map_request(XEvent *e) {
XSelectInput(d, w, StructureNotifyMask|EnterWindowMask);
win_size(w, &wx, &wy, &ww, &wh);
win_add(w);
win_focus(list->prev);
cur = list->prev;
if (wx + wy == 0) win_center();
XMapWindow(d, w);
win_focus(list->prev);
}
void run(const Arg arg) {