summary refs log tree commit diff
diff options
context:
space:
mode:
authorokan <okan>2009-08-25 01:26:09 +0000
committerokan <okan>2009-08-25 01:26:09 +0000
commitfcb2684db1d3e102b6ff578e0e686e0e089a403a (patch)
tree3fd7cd038a23c2d8e9f81a19fa80a92ae05b3ffa
parente2b1cb98c1bc82d407e8a1004c3a5135ffa1d86c (diff)
downloadcwm-fcb2684db1d3e102b6ff578e0e686e0e089a403a.tar.gz
cwm-fcb2684db1d3e102b6ff578e0e686e0e089a403a.tar.xz
cwm-fcb2684db1d3e102b6ff578e0e686e0e089a403a.zip
unroll macro; ok oga@
-rw-r--r--client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/client.c b/client.c
index 2a021a4..484615e 100644
--- a/client.c
+++ b/client.c
@@ -233,7 +233,7 @@ client_maximize(struct client_ctx *cc)
 			 * that's probably more fair than if just the origin of
 			 * a window is poking over a boundary
 			 */
-			xine = screen_find_xinerama(CCTOSC(cc),
+			xine = screen_find_xinerama(sc,
 			    cc->geom.x + cc->geom.width / 2,
 			    cc->geom.y + cc->geom.height / 2);
 			if (xine == NULL)
@@ -267,7 +267,7 @@ client_vertmaximize(struct client_ctx *cc)
 			cc->savegeom = cc->geom;
 		if (HasXinerama) {
 			XineramaScreenInfo *xine;
-			xine = screen_find_xinerama(CCTOSC(cc),
+			xine = screen_find_xinerama(sc,
 			    cc->geom.x + cc->geom.width / 2,
 			    cc->geom.y + cc->geom.height / 2);
 			if (xine == NULL)
@@ -298,7 +298,7 @@ client_horizmaximize(struct client_ctx *cc)
 			cc->savegeom = cc->geom;
 		if (HasXinerama) {
 			XineramaScreenInfo *xine;
-			xine = screen_find_xinerama(CCTOSC(cc),
+			xine = screen_find_xinerama(sc,
 			    cc->geom.x + cc->geom.width / 2,
 			    cc->geom.y + cc->geom.height / 2);
 			if (xine == NULL)