mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
Kill screen_init(). it's been stubbed out for a while now. I don't envision it
coming back in it's current form. ok okan@.
This commit is contained in:
parent
2f8639d37b
commit
13b640ea29
5
calmwm.c
5
calmwm.c
@ -204,10 +204,6 @@ x_setupscreen(struct screen_ctx *sc, u_int which)
|
|||||||
font_init(sc);
|
font_init(sc);
|
||||||
conf_font(&Conf);
|
conf_font(&Conf);
|
||||||
|
|
||||||
/*
|
|
||||||
* XXX - this should *really* be in screen_init(). ordering
|
|
||||||
* problem.
|
|
||||||
*/
|
|
||||||
TAILQ_INIT(&sc->mruq);
|
TAILQ_INIT(&sc->mruq);
|
||||||
|
|
||||||
/* Initialize menu window. */
|
/* Initialize menu window. */
|
||||||
@ -228,7 +224,6 @@ x_setupscreen(struct screen_ctx *sc, u_int which)
|
|||||||
}
|
}
|
||||||
XFree(wins);
|
XFree(wins);
|
||||||
|
|
||||||
screen_init();
|
|
||||||
screen_updatestackingorder();
|
screen_updatestackingorder();
|
||||||
|
|
||||||
rootattr.event_mask = ChildMask|PropertyChangeMask|EnterWindowMask|
|
rootattr.event_mask = ChildMask|PropertyChangeMask|EnterWindowMask|
|
||||||
|
1
calmwm.h
1
calmwm.h
@ -412,7 +412,6 @@ char *xstrdup(const char *);
|
|||||||
#define XMALLOC(p, t) ((p) = (t *)xmalloc(sizeof * (p)))
|
#define XMALLOC(p, t) ((p) = (t *)xmalloc(sizeof * (p)))
|
||||||
#define XCALLOC(p, t) ((p) = (t *)xcalloc(1, sizeof * (p)))
|
#define XCALLOC(p, t) ((p) = (t *)xcalloc(1, sizeof * (p)))
|
||||||
|
|
||||||
void screen_init(void);
|
|
||||||
struct screen_ctx *screen_fromroot(Window);
|
struct screen_ctx *screen_fromroot(Window);
|
||||||
struct screen_ctx *screen_current(void);
|
struct screen_ctx *screen_current(void);
|
||||||
void screen_updatestackingorder(void);
|
void screen_updatestackingorder(void);
|
||||||
|
Loading…
Reference in New Issue
Block a user