diff options
Diffstat (limited to 'calmwm.c')
-rw-r--r-- | calmwm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/calmwm.c b/calmwm.c index 611ae37..9d91084 100644 --- a/calmwm.c +++ b/calmwm.c @@ -159,6 +159,7 @@ x_setupscreen(struct screen_ctx *sc, u_int which) XSetWindowAttributes rootattr; int fake; u_int nwins, i; + sc->which = which; sc->rootwin = RootWindow(X_Dpy, sc->which); @@ -221,6 +222,7 @@ x_wmerrorhandler(Display *dpy, XErrorEvent *e) return (0); } + static int x_errorhandler(Display *dpy, XErrorEvent *e) { |