wayland: Make debug console placeable
Since the debug console has Qt.BypassWindowManagerHint flag set, it won't be placed or ensured that it stays in the work area. On the other hand, unlike X11, kwin won't have problems if the debug console is managed on wayland. BUG: 453920
This commit is contained in:
parent
34960e8e74
commit
e58affc71b
1 changed files with 1 additions and 3 deletions
|
@ -620,6 +620,7 @@ DebugConsole::DebugConsole()
|
|||
m_ui->tabWidget->setTabEnabled(1, false);
|
||||
m_ui->tabWidget->setTabEnabled(2, false);
|
||||
m_ui->tabWidget->setTabEnabled(6, false);
|
||||
setWindowFlags(Qt::X11BypassWindowManagerHint);
|
||||
}
|
||||
|
||||
connect(m_ui->quitButton, &QAbstractButton::clicked, this, &DebugConsole::deleteLater);
|
||||
|
@ -649,9 +650,6 @@ DebugConsole::DebugConsole()
|
|||
}
|
||||
});
|
||||
|
||||
// for X11
|
||||
setWindowFlags(Qt::X11BypassWindowManagerHint);
|
||||
|
||||
initGLTab();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue