|
|
|
@ -856,7 +856,7 @@ void PanelView::updateStruts() |
|
|
|
if (m_visibilityMode == NormalPanel) { |
|
|
|
if (m_visibilityMode == NormalPanel) { |
|
|
|
const QRect thisScreen = screen()->geometry(); |
|
|
|
const QRect thisScreen = screen()->geometry(); |
|
|
|
// QScreen::virtualGeometry() is very unreliable (Qt 5.5)
|
|
|
|
// QScreen::virtualGeometry() is very unreliable (Qt 5.5)
|
|
|
|
const QRect wholeScreen = QRect(QPoint(0, 0), screen()->geometry().size()); |
|
|
|
const QRect wholeScreen = QRect(QPoint(0, 0), screen()->virtualSize()); |
|
|
|
|
|
|
|
|
|
|
|
//Extended struts against a screen edge near to another screen are really harmful, so windows maximized under the panel is a lesser pain
|
|
|
|
//Extended struts against a screen edge near to another screen are really harmful, so windows maximized under the panel is a lesser pain
|
|
|
|
//TODO: force "windows can cover" in those cases?
|
|
|
|
//TODO: force "windows can cover" in those cases?
|
|
|
|
|