mirror of
https://github.com/dylanaraps/sowm.git
synced 2025-05-19 09:30:24 -07:00
sowm: fix current
This commit is contained in:
parent
84119dd331
commit
589bb768d9
3
sowm.c
3
sowm.c
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user