Use quickTileMode() instead of quick_tile_mode in Client::checkWorkspacePosition

Preparation step for moving implementation of checkWorkspacePosition
to AbstractClient.
This commit is contained in:
Martin Gräßlin 2015-10-12 11:46:50 +02:00
parent ee47ce613d
commit e121d4a107

View file

@ -1065,7 +1065,7 @@ void Client::checkWorkspacePosition(QRect oldGeometry, int oldDesktop, QRect old
return;
}
if (quick_tile_mode != QuickTileNone) {
if (quickTileMode() != QuickTileNone) {
setGeometry(electricBorderMaximizeGeometry(geometry().center(), desktop()));
return;
}