aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.c
diff options
context:
space:
mode:
authorokan2012-05-13 15:15:54 +0000
committerokan2012-05-13 15:15:54 +0000
commita7fdbbaff8e839b3c9097edf51908719e1d00ced (patch)
tree1e061e814ba96c5d5f4101b33f4cb6432ab085f3 /calmwm.c
parent7c3325dfdd5af514692f91a151dbd0d3eafb2807 (diff)
downloadcwm-a7fdbbaff8e839b3c9097edf51908719e1d00ced.tar.gz
knf, some from a diff from Tiago Cunha.
Diffstat (limited to 'calmwm.c')
-rw-r--r--calmwm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/calmwm.c b/calmwm.c
index 7e0df51..d12ebe5 100644
--- a/calmwm.c
+++ b/calmwm.c
@@ -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)
{