trigger quick tiling on edges of maximize area
screen area can be inacecssible due to panels BUG: 322493 FIXED-IN: 4.11 REVIEW: 111556
This commit is contained in:
parent
d9b567699c
commit
8406aebda8
1 changed files with 2 additions and 2 deletions
|
@ -1201,10 +1201,10 @@ void Client::checkQuickTilingMaximizationZones(int xroot, int yroot)
|
|||
QuickTileMode mode = QuickTileNone;
|
||||
for (int i=0; i<screens()->count(); ++i) {
|
||||
|
||||
const QRect &area = screens()->geometry(i);
|
||||
if (!area.contains(QPoint(xroot, yroot)))
|
||||
if (!screens()->geometry(i).contains(QPoint(xroot, yroot)))
|
||||
continue;
|
||||
|
||||
QRect area = workspace()->clientArea(MaximizeArea, QPoint(xroot, yroot), desktop());
|
||||
if (options->electricBorderTiling()) {
|
||||
if (xroot <= area.x() + 20)
|
||||
mode |= QuickTileLeft;
|
||||
|
|
Loading…
Reference in a new issue