mirror of
https://github.com/dylanaraps/sowm.git
synced 2026-09-30 21:14:36 +07:00
sowm: fix current
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user