convert xmax/ymax uses to view geometry.

This commit is contained in:
okan
2012-07-13 15:21:35 +00:00
parent cc08aef0df
commit 186a78ff1e
8 changed files with 24 additions and 29 deletions

View File

@@ -117,9 +117,6 @@ screen_find_xinerama(struct screen_ctx *sc, int x, int y)
void
screen_update_geometry(struct screen_ctx *sc)
{
sc->xmax = DisplayWidth(X_Dpy, sc->which);
sc->ymax = DisplayHeight(X_Dpy, sc->which);
sc->view.x = 0;
sc->view.y = 0;
sc->view.w = DisplayWidth(X_Dpy, sc->which);