diff options
author | Okan Demirmen <okan@cvs.openbsd.org> | 2009-08-25 01:26:10 +0000 |
---|---|---|
committer | Okan Demirmen <okan@cvs.openbsd.org> | 2009-08-25 01:26:10 +0000 |
commit | 37cec52c74189504d0f274d412f6bc5da40f55e2 (patch) | |
tree | 68846218a263f9460a9c8483941223617299741e /app/cwm | |
parent | 8264d987202e2b67dc116f7fa876f41470eb04d8 (diff) |
unroll macro; ok oga@
Diffstat (limited to 'app/cwm')
-rw-r--r-- | app/cwm/client.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/cwm/client.c b/app/cwm/client.c index b343164eb..70287ae8f 100644 --- a/app/cwm/client.c +++ b/app/cwm/client.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: client.c,v 1.61 2009/08/24 23:54:41 oga Exp $ + * $Id: client.c,v 1.62 2009/08/25 01:26:09 okan Exp $ */ #include "headers.h" @@ -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) |