summary refs log tree commit diff
path: root/client.c
diff options
context:
space:
mode:
authorokan <okan>2013-01-02 02:02:08 +0000
committerokan <okan>2013-01-02 02:02:08 +0000
commit2d28b71a1b0253b4b0d58019b8c15bf4631e7914 (patch)
treea25747bfccfbd4e678f63a7f899b2ccac8a3fe54 /client.c
parentafb36484404f5664f1f4533cfa97989f0af3b04c (diff)
downloadcwm-2d28b71a1b0253b4b0d58019b8c15bf4631e7914.tar.gz
cwm-2d28b71a1b0253b4b0d58019b8c15bf4631e7914.tar.xz
cwm-2d28b71a1b0253b4b0d58019b8c15bf4631e7914.zip
info->xine, for consistent variable names
Diffstat (limited to 'client.c')
-rw-r--r--client.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/client.c b/client.c
index cb477e1..a1c7ef6 100644
--- a/client.c
+++ b/client.c
@@ -682,17 +682,17 @@ client_placecalc(struct client_ctx *cc)
 		if (cc->size->y > 0)
 			cc->geom.y = MIN(cc->size->y, yslack);
 	} else {
-		XineramaScreenInfo	*info;
+		XineramaScreenInfo	*xine;
 		int			 xmouse, ymouse, xorig, yorig;
 		int			 xmax, ymax;
 
 		xu_ptr_getpos(sc->rootwin, &xmouse, &ymouse);
-		info = screen_find_xinerama(sc, xmouse, ymouse);
-		if (info) {
-			xorig = info->x_org;
-			yorig = info->y_org;
-			xmax = xorig + info->width;
-			ymax = yorig + info->height;
+		xine = screen_find_xinerama(sc, xmouse, ymouse);
+		if (xine) {
+			xorig = xine->x_org;
+			yorig = xine->y_org;
+			xmax = xorig + xine->width;
+			ymax = yorig + xine->height;
 		} else {
 			xorig = yorig = 0;
 			xmax = sc->view.w;