mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
move some init up and shed some blank lines
This commit is contained in:
8
screen.c
8
screen.c
@@ -41,20 +41,18 @@ screen_init(int which)
|
||||
|
||||
sc = xcalloc(1, sizeof(*sc));
|
||||
|
||||
TAILQ_INIT(&sc->mruq);
|
||||
|
||||
sc->which = which;
|
||||
sc->visual = DefaultVisual(X_Dpy, sc->which);
|
||||
sc->colormap = DefaultColormap(X_Dpy, sc->which);
|
||||
sc->rootwin = RootWindow(X_Dpy, sc->which);
|
||||
conf_screen(sc);
|
||||
|
||||
xu_ewmh_net_supported(sc);
|
||||
xu_ewmh_net_supported_wm_check(sc);
|
||||
|
||||
conf_screen(sc);
|
||||
|
||||
screen_update_geometry(sc);
|
||||
|
||||
TAILQ_INIT(&sc->mruq);
|
||||
|
||||
group_init(sc);
|
||||
|
||||
rootattr.cursor = Conf.cursor[CF_NORMAL];
|
||||
|
||||
Reference in New Issue
Block a user