From 2e16db28638cf0e78e6ddae11521a1f589179f67 Mon Sep 17 00:00:00 2001 From: okan Date: Tue, 4 Oct 2016 15:18:20 +0000 Subject: Turn CALMWM_NGROUPS define into variable, ngroups. --- screen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'screen.c') diff --git a/screen.c b/screen.c index 9f3eb47..660d9ff 100644 --- a/screen.c +++ b/screen.c @@ -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.80 2016/09/16 14:32:02 okan Exp $ + * $OpenBSD: screen.c,v 1.81 2016/10/04 15:18:20 okan Exp $ */ #include @@ -57,7 +57,7 @@ screen_init(int which) screen_update_geometry(sc); - for (i = 0; i < CALMWM_NGROUPS; i++) + for (i = 0; i < Conf.ngroups; i++) group_init(sc, i); xu_ewmh_net_desktop_names(sc); -- cgit v1.2.3-2-gb3c3