Qt 6.4 supports window activation with tray on Wayland

This commit is contained in:
Ilya Fedin
2022-09-01 17:32:31 +04:00
committed by John Preston
parent eab41d272b
commit feb6107ce6
2 changed files with 0 additions and 7 deletions
@@ -242,11 +242,6 @@ void MainWindow::initHook() {
#endif // !DESKTOP_APP_DISABLE_X11_INTEGRATION
}
bool MainWindow::isActiveForTrayMenu() {
updateIsActive();
return Platform::IsWayland() ? isVisible() : isActive();
}
void MainWindow::workmodeUpdated(Core::Settings::WorkMode mode) {
if (!TrayIconSupported()) {
return;