mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
info->xine, for consistent variable names
This commit is contained in:
parent
afb3648440
commit
2d28b71a1b
14
client.c
14
client.c
@ -682,17 +682,17 @@ client_placecalc(struct client_ctx *cc)
|
|||||||
if (cc->size->y > 0)
|
if (cc->size->y > 0)
|
||||||
cc->geom.y = MIN(cc->size->y, yslack);
|
cc->geom.y = MIN(cc->size->y, yslack);
|
||||||
} else {
|
} else {
|
||||||
XineramaScreenInfo *info;
|
XineramaScreenInfo *xine;
|
||||||
int xmouse, ymouse, xorig, yorig;
|
int xmouse, ymouse, xorig, yorig;
|
||||||
int xmax, ymax;
|
int xmax, ymax;
|
||||||
|
|
||||||
xu_ptr_getpos(sc->rootwin, &xmouse, &ymouse);
|
xu_ptr_getpos(sc->rootwin, &xmouse, &ymouse);
|
||||||
info = screen_find_xinerama(sc, xmouse, ymouse);
|
xine = screen_find_xinerama(sc, xmouse, ymouse);
|
||||||
if (info) {
|
if (xine) {
|
||||||
xorig = info->x_org;
|
xorig = xine->x_org;
|
||||||
yorig = info->y_org;
|
yorig = xine->y_org;
|
||||||
xmax = xorig + info->width;
|
xmax = xorig + xine->width;
|
||||||
ymax = yorig + info->height;
|
ymax = yorig + xine->height;
|
||||||
} else {
|
} else {
|
||||||
xorig = yorig = 0;
|
xorig = yorig = 0;
|
||||||
xmax = sc->view.w;
|
xmax = sc->view.w;
|
||||||
|
Loading…
Reference in New Issue
Block a user