1369
1369
bool sb = mScreen->outputDevs ().at (output).workArea ().bottom () <
1370
1370
w->serverGeometry ().bottom ();
1372
lco = tco = bco = rco = output;
1374
1372
/* Prevent resizing beyond work area edges when resize is
1375
1373
initiated externally (e.g. with window frame or menu)
1376
1374
and not with a key (e.g. alt+button) */
1377
1375
offWorkAreaConstrained = true;
1379
lco = getOutputForEdge (output, TOUCH_RIGHT, sl);
1380
rco = getOutputForEdge (output, TOUCH_LEFT, sr);
1381
tco = getOutputForEdge (output, TOUCH_BOTTOM, st);
1382
bco = getOutputForEdge (output, TOUCH_TOP, sb);
1377
int lco = getOutputForEdge (output, TOUCH_RIGHT, sl);
1378
int rco = getOutputForEdge (output, TOUCH_LEFT, sr);
1379
int tco = getOutputForEdge (output, TOUCH_BOTTOM, st);
1380
int bco = getOutputForEdge (output, TOUCH_TOP, sb);
1384
1382
/* Now we need to form one big rect which describes
1385
1383
* the available workarea */