diff options
Diffstat (limited to 'screen.c')
-rw-r--r-- | screen.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: screen.c,v 1.88 2018/02/13 15:43:16 okan Exp $ + * $OpenBSD: screen.c,v 1.89 2019/03/01 14:32:01 okan Exp $ */ #include <sys/types.h> @@ -40,7 +40,6 @@ screen_init(int which) Window *wins, w0, w1, active = None; XSetWindowAttributes rootattr; unsigned int nwins, w; - int i; sc = xmalloc(sizeof(*sc)); @@ -61,9 +60,7 @@ screen_init(int which) xu_ewmh_net_supported_wm_check(sc); screen_update_geometry(sc); - - for (i = 0; i < Conf.ngroups; i++) - group_init(sc, i); + conf_group(sc); xu_ewmh_net_desktop_names(sc); xu_ewmh_net_wm_desktop_viewport(sc); |