about summary refs log tree commit diff
path: root/screen.c
diff options
context:
space:
mode:
authorokan <okan>2012-07-13 15:21:35 +0000
committerokan <okan>2012-07-13 15:21:35 +0000
commit186a78ff1e8f19155b337b68586cebc7495fcdf9 (patch)
tree200cd7019093779454b4d32799e45870567ec8b7 /screen.c
parentcc08aef0df6236f794fb1d5dfcef265dba9da228 (diff)
downloadcwm-186a78ff1e8f19155b337b68586cebc7495fcdf9.tar.gz
cwm-186a78ff1e8f19155b337b68586cebc7495fcdf9.tar.xz
cwm-186a78ff1e8f19155b337b68586cebc7495fcdf9.zip
convert xmax/ymax uses to view geometry.
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/screen.c b/screen.c
index 72468c2..07f1731 100644
--- a/screen.c
+++ b/screen.c
@@ -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);