win->manual = 1;
if (win->floating == 0 && !win->transient) {
+ store_float_geom(win,r);
ewmh_update_win_state(win, ewmh[_NET_WM_STATE_ABOVE].atom,
_NET_WM_STATE_ADD);
}
goto out;
}
- if(asprintf(&optsub, "%.*s", wordlen, cp) ==
+ if (asprintf(&optsub, "%.*s", wordlen, cp) ==
-1) {
warnx("%s: line %zd: unable to allocate"
"memory for selector", filename,
lineno);
- return (1);
+ goto out;
}
}
cp += wordlen;