mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Check if app is active before showing a tooltip.
Fixes #6885, fixes #6895.
This commit is contained in:
@@ -149,7 +149,7 @@ QPoint Inner::tooltipPos() const {
|
||||
}
|
||||
|
||||
bool Inner::tooltipWindowActive() const {
|
||||
return Ui::InFocusChain(window());
|
||||
return Ui::AppInFocus() && Ui::InFocusChain(window());
|
||||
}
|
||||
|
||||
Inner::~Inner() = default;
|
||||
|
Reference in New Issue
Block a user