2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Don't show PopupMenu for inactive window on macOS.

This is a fixup for 06bf67c146.
This commit is contained in:
John Preston
2018-08-04 15:06:39 +03:00
parent 4e0e472f97
commit c8aa35d23c
7 changed files with 44 additions and 4 deletions

View File

@@ -15,6 +15,8 @@ namespace Platform {
inline void SetWatchingMediaKeys(bool watching) {
}
bool IsApplicationActive();
inline void StartTranslucentPaint(QPainter &p, QPaintEvent *e) {
}