diff options
author | okan <okan> | 2012-05-13 15:15:54 +0000 |
---|---|---|
committer | okan <okan> | 2012-05-13 15:15:54 +0000 |
commit | fb4936d0f7ea06554a2b11aaa2272f7ca1dd4a98 (patch) | |
tree | 11efe2189ad525f07a7a21eba71a29c3536dc22f /calmwm.c | |
parent | 63b59e44c14fd8d7cce4abba064fa71a9fb6ac65 (diff) | |
download | cwm-fb4936d0f7ea06554a2b11aaa2272f7ca1dd4a98.tar.gz cwm-fb4936d0f7ea06554a2b11aaa2272f7ca1dd4a98.tar.xz cwm-fb4936d0f7ea06554a2b11aaa2272f7ca1dd4a98.zip |
knf, some from a diff from Tiago Cunha.
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) { |