diff options
author | Kai Koehne <kai.koehne@qt.io> | 2017-06-13 14:39:24 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2017-06-27 07:20:19 +0000 |
commit | 5bc8671260bc716be9dffe61e84c214ca37ca5f6 (patch) | |
tree | 33fec3075b0b87e5ef32fcc6b0bfb90c7de07d40 /src/core/content_main_delegate_qt.cpp | |
parent | 085c2c529473bbe9dd7c8c5698a45053520cc423 (diff) |
Fix location of IME window on Windows
SelectionRegion::caret_rect is only documented to be supported on
macOS, so use anchor, focus instead. Also make sure that the rect
always has a width > 0; Both the Windows QPA and the native API
require this.
Task-number: QTBUG-60334
Change-Id: I8436fbfaa204d243578b33cbcaa3f28871b462ee
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Diffstat (limited to 'src/core/content_main_delegate_qt.cpp')
0 files changed, 0 insertions, 0 deletions