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@
This commit is contained in:
oga 2009-12-11 17:57:38 +00:00
parent a0ec2515e9
commit 28e94b2fbc

View File

@ -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;