Ensure the panel's view position in the screen

Otherwise resize gets called and xcb moves it to the screen that contains
QPoint(0, 0)
wilder-5.14
Aleix Pol 11 years ago
parent 59292eea40
commit 855bd6cada
  1. 1
      shell/panelview.cpp

@ -60,6 +60,7 @@ PanelView::PanelView(ShellCorona *corona, QScreen *targetScreen, QWindow *parent
m_background(0)
{
if (targetScreen) {
setPosition(targetScreen->geometry().topLeft());
setScreen(targetScreen);
}
setResizeMode(QQuickView::SizeRootObjectToView);

Loading…
Cancel
Save