mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Check if app is active before showing a tooltip.
Fixes #6885, fixes #6895.
This commit is contained in:
@@ -1118,7 +1118,7 @@ QPoint SilentToggle::tooltipPos() const {
|
||||
}
|
||||
|
||||
bool SilentToggle::tooltipWindowActive() const {
|
||||
return InFocusChain(window());
|
||||
return Ui::AppInFocus() && InFocusChain(window());
|
||||
}
|
||||
|
||||
} // namespace Ui
|
||||
|
Reference in New Issue
Block a user