mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Qt 6.4 supports window activation with tray on Wayland
This commit is contained in:
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;
|
||||
|
|
|
@ -22,8 +22,6 @@ class MainWindow : public Window::MainWindow {
|
|||
public:
|
||||
explicit MainWindow(not_null<Window::Controller*> controller);
|
||||
|
||||
bool isActiveForTrayMenu() override;
|
||||
|
||||
~MainWindow();
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Add table
Reference in a new issue