mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Fix reply from notifications (Qt 5.6.2 broke it).
Now the mouse press on Qt::BypassWindowManagerHint window doesn't activate it. So if you want a working input field in a Qt::BypassWindowManagerHint window, you should activate it yourself from any mouse press event.
This commit is contained in:
@@ -208,6 +208,7 @@ protected:
|
||||
void leaveEvent(QEvent *e) override;
|
||||
void paintEvent(QPaintEvent *e) override;
|
||||
void mousePressEvent(QMouseEvent *e) override;
|
||||
bool eventFilter(QObject *o, QEvent *e) override;
|
||||
|
||||
private slots:
|
||||
void onHideByTimer();
|
||||
|
Reference in New Issue
Block a user