mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
unbreak xinerama support from r1.41 for panning setups
This commit is contained in:
parent
c426254da5
commit
7c4ed94757
4
screen.c
4
screen.c
@ -143,8 +143,8 @@ screen_find_xinerama(struct screen_ctx *sc, int x, int y)
|
|||||||
y >= info->y_org && y < info->y_org + info->height) {
|
y >= info->y_org && y < info->y_org + info->height) {
|
||||||
geom.x = info->x_org;
|
geom.x = info->x_org;
|
||||||
geom.y = info->y_org;
|
geom.y = info->y_org;
|
||||||
geom.w = info->width;
|
geom.w = info->x_org + info->width;
|
||||||
geom.h = info->height;
|
geom.h = info->y_org + info->height;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user