mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-04 16:35:44 +00:00
Redirect IME to search on Windows.
This commit is contained in:
@@ -795,10 +795,18 @@ void MainWindow::setPositionInited() {
|
||||
_positionInited = true;
|
||||
}
|
||||
|
||||
void MainWindow::imeCompositionStartReceived() {
|
||||
_imeCompositionStartReceived.fire({});
|
||||
}
|
||||
|
||||
rpl::producer<> MainWindow::leaveEvents() const {
|
||||
return _leaveEvents.events();
|
||||
}
|
||||
|
||||
rpl::producer<> MainWindow::imeCompositionStarts() const {
|
||||
return _imeCompositionStartReceived.events();
|
||||
}
|
||||
|
||||
void MainWindow::leaveEventHook(QEvent *e) {
|
||||
_leaveEvents.fire({});
|
||||
}
|
||||
|
Reference in New Issue
Block a user