Ignore windows without a size set (may be used for pane only), from

Anindya Mukherjee.
pull/3038/head
nicm 2022-01-06 08:20:00 +00:00
parent e6e3c75ed7
commit b2b94dcba7
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ clients_calculate_size(int type, int current, struct client *c,
cw = NULL;
/* Work out this client's size. */
if (cw != NULL) {
if (cw != NULL && cw->sx != 0 && cw->sy != 0) {
cx = cw->sx;
cy = cw->sy;
} else {