aboutsummaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authorokan2014-10-08 12:48:51 +0000
committerokan2014-10-08 12:48:51 +0000
commite72e46b0d681747a7c2632c6a2f76c77ff8e05e4 (patch)
tree82f1620da2a37989c57b1a9832c804cc0dd13d5b /screen.c
parentb5481390e265e33e692a40dd261f165a7ed99e3e (diff)
downloadcwm-e72e46b0d681747a7c2632c6a2f76c77ff8e05e4.tar.gz
make group_init work like other *_init's
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/screen.c b/screen.c
index 9fc01d3..42aa572 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.68 2014/09/23 13:45:48 okan Exp $
+ * $OpenBSD: screen.c,v 1.69 2014/10/08 12:48:51 okan Exp $
*/
#include <sys/param.h>
@@ -54,7 +54,9 @@ screen_init(int which)
xu_ewmh_net_supported_wm_check(sc);
screen_update_geometry(sc);
- group_init(sc);
+
+ for (i = 0; i < CALMWM_NGROUPS; i++)
+ group_init(sc, i);
xu_ewmh_net_desktop_names(sc);
xu_ewmh_net_wm_desktop_viewport(sc);