mirror of
https://github.com/dylanaraps/sowm.git
synced 2026-11-14 19:03:40 +00:00
sowm: fix current
This commit is contained in:
1 file changed
+2
-1
@@ -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