mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
unroll macro; ok oga@
This commit is contained in:
parent
e2b1cb98c1
commit
fcb2684db1
6
client.c
6
client.c
@ -233,7 +233,7 @@ client_maximize(struct client_ctx *cc)
|
|||||||
* that's probably more fair than if just the origin of
|
* that's probably more fair than if just the origin of
|
||||||
* a window is poking over a boundary
|
* 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.x + cc->geom.width / 2,
|
||||||
cc->geom.y + cc->geom.height / 2);
|
cc->geom.y + cc->geom.height / 2);
|
||||||
if (xine == NULL)
|
if (xine == NULL)
|
||||||
@ -267,7 +267,7 @@ client_vertmaximize(struct client_ctx *cc)
|
|||||||
cc->savegeom = cc->geom;
|
cc->savegeom = cc->geom;
|
||||||
if (HasXinerama) {
|
if (HasXinerama) {
|
||||||
XineramaScreenInfo *xine;
|
XineramaScreenInfo *xine;
|
||||||
xine = screen_find_xinerama(CCTOSC(cc),
|
xine = screen_find_xinerama(sc,
|
||||||
cc->geom.x + cc->geom.width / 2,
|
cc->geom.x + cc->geom.width / 2,
|
||||||
cc->geom.y + cc->geom.height / 2);
|
cc->geom.y + cc->geom.height / 2);
|
||||||
if (xine == NULL)
|
if (xine == NULL)
|
||||||
@ -298,7 +298,7 @@ client_horizmaximize(struct client_ctx *cc)
|
|||||||
cc->savegeom = cc->geom;
|
cc->savegeom = cc->geom;
|
||||||
if (HasXinerama) {
|
if (HasXinerama) {
|
||||||
XineramaScreenInfo *xine;
|
XineramaScreenInfo *xine;
|
||||||
xine = screen_find_xinerama(CCTOSC(cc),
|
xine = screen_find_xinerama(sc,
|
||||||
cc->geom.x + cc->geom.width / 2,
|
cc->geom.x + cc->geom.width / 2,
|
||||||
cc->geom.y + cc->geom.height / 2);
|
cc->geom.y + cc->geom.height / 2);
|
||||||
if (xine == NULL)
|
if (xine == NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user