File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ void LayerShellEmulation::onExclusionZoneChanged()
175175 if (boundary < screen->geometry ().right ())
176176 boundary = screen->geometry ().right ();
177177 }
178- strut_partial.right = boundary - rect.right () + ( m_dlayerShellWindow->exclusionZone ()) * scaleFactor;
178+ strut_partial.right = ( boundary - rect.right () + m_dlayerShellWindow->exclusionZone ()) * scaleFactor;
179179 strut_partial.right_start_y = rect.y ();
180180 strut_partial.right_end_y = rect.y () + m_window->height ();
181181 } else if ((anchors == DLayerShellWindow::AnchorTop) || (anchors ^ DLayerShellWindow::AnchorTop) == (DLayerShellWindow::AnchorLeft | DLayerShellWindow::AnchorRight)) {
@@ -191,7 +191,7 @@ void LayerShellEmulation::onExclusionZoneChanged()
191191 if (boundary < screen->geometry ().bottom ())
192192 boundary = screen->geometry ().bottom ();
193193 }
194- strut_partial.bottom = boundary - rect.bottom () + ( m_dlayerShellWindow->exclusionZone ()) * scaleFactor;
194+ strut_partial.bottom = ( boundary - rect.bottom () + m_dlayerShellWindow->exclusionZone ()) * scaleFactor;
195195 strut_partial.bottom_start_x = rect.x ();
196196 strut_partial.bottom_end_x = rect.x () + m_window->width ();
197197 }
You can’t perform that action at this time.
0 commit comments