diff options
author | okan <okan> | 2014-09-23 13:45:48 +0000 |
---|---|---|
committer | okan <okan> | 2014-09-23 13:45:48 +0000 |
commit | cb65869d7a01eb093e8a95caea5a6e21b6689f42 (patch) | |
tree | f04ae062e021208392acf27e282bc179f9531f0f /screen.c | |
parent | cbc7f760748f0519c70fa6c6d3c40a05810b7f9c (diff) | |
download | cwm-cb65869d7a01eb093e8a95caea5a6e21b6689f42.tar.gz cwm-cb65869d7a01eb093e8a95caea5a6e21b6689f42.tar.xz cwm-cb65869d7a01eb093e8a95caea5a6e21b6689f42.zip |
Move stuff that doesn't belong in group_init; while here, explicitly
initialize hideall and cycling.
Diffstat (limited to 'screen.c')
-rw-r--r-- | screen.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/screen.c b/screen.c index 3c7c41b..9beabb2 100644 --- a/screen.c +++ b/screen.c @@ -42,9 +42,12 @@ screen_init(int which) TAILQ_INIT(&sc->clientq); TAILQ_INIT(&sc->regionq); + TAILQ_INIT(&sc->groupq); sc->which = which; sc->rootwin = RootWindow(X_Dpy, sc->which); + sc->cycling = 0; + sc->hideall = 0; conf_screen(sc); xu_ewmh_net_supported(sc); @@ -53,6 +56,12 @@ screen_init(int which) screen_update_geometry(sc); group_init(sc); + xu_ewmh_net_desktop_names(sc); + xu_ewmh_net_wm_desktop_viewport(sc); + xu_ewmh_net_wm_number_of_desktops(sc); + xu_ewmh_net_showing_desktop(sc); + xu_ewmh_net_virtual_roots(sc); + rootattr.cursor = Conf.cursor[CF_NORMAL]; rootattr.event_mask = SubstructureRedirectMask|SubstructureNotifyMask| PropertyChangeMask|EnterWindowMask|LeaveWindowMask| |