summary refs log tree commit diff
diff options
context:
space:
mode:
authoroga <oga>2009-12-11 17:57:38 +0000
committeroga <oga>2009-12-11 17:57:38 +0000
commit28e94b2fbcb7ca75059a9334ab9f0bcfac3787a0 (patch)
tree9ccad288c038f15545387fcba49864ec70fc5ff8
parenta0ec2515e932183c01a7f9e61386b0741bef5f33 (diff)
downloadcwm-28e94b2fbcb7ca75059a9334ab9f0bcfac3787a0.tar.gz
cwm-28e94b2fbcb7ca75059a9334ab9f0bcfac3787a0.tar.xz
cwm-28e94b2fbcb7ca75059a9334ab9f0bcfac3787a0.zip
another int/long fixup that was giving dodgy property values on amd64, shame on
me for not reading xlibs (appauling) documentation more closely.

ok okan@
-rw-r--r--screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/screen.c b/screen.c
index 33d8199..02fea44 100644
--- a/screen.c
+++ b/screen.c
@@ -102,7 +102,7 @@ screen_find_xinerama(struct screen_ctx *sc, int x, int y)
 void
 screen_update_geometry(struct screen_ctx *sc, int width, int height)
 {
-	int	geom[2];
+	long	geom[2];
 
 	sc->xmax = geom[0] = width;
 	sc->ymax = geom[1] = height;