Fix view struts
This commit is contained in:
parent
b7dc7ec898
commit
9e5d17d131
1 changed files with 1 additions and 2 deletions
|
@ -151,8 +151,7 @@ void XWindowInterface::setViewStruts(QWindow *view, DockSettings::Direction dire
|
||||||
|
|
||||||
const QRect currentScreen {screen->geometry()};
|
const QRect currentScreen {screen->geometry()};
|
||||||
const QRect wholeScreen { {0, 0}, screen->virtualSize() };
|
const QRect wholeScreen { {0, 0}, screen->virtualSize() };
|
||||||
// const int edgeMargins = compositing ? DockSettings::self()->edgeMargins() : 0;
|
const int edgeMargins = compositing ? DockSettings::self()->edgeMargins() : 0;
|
||||||
int edgeMargins = 0;
|
|
||||||
|
|
||||||
switch (direction) {
|
switch (direction) {
|
||||||
case DockSettings::Left: {
|
case DockSettings::Left: {
|
||||||
|
|
Loading…
Reference in a new issue