diff options
author | okan | 2012-05-13 15:15:54 +0000 |
---|---|---|
committer | okan | 2012-05-13 15:15:54 +0000 |
commit | a7fdbbaff8e839b3c9097edf51908719e1d00ced (patch) | |
tree | 1e061e814ba96c5d5f4101b33f4cb6432ab085f3 /calmwm.c | |
parent | 7c3325dfdd5af514692f91a151dbd0d3eafb2807 (diff) | |
download | cwm-a7fdbbaff8e839b3c9097edf51908719e1d00ced.tar.gz |
knf, some from a diff from Tiago Cunha.
Diffstat (limited to 'calmwm.c')
-rw-r--r-- | calmwm.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: calmwm.c,v 1.59 2011/09/08 12:35:33 okan Exp $ + * $OpenBSD: calmwm.c,v 1.60 2012/05/13 15:15:54 okan Exp $ */ #include <sys/param.h> @@ -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) { |