Commit 8e9c6e29 authored by Tim Clem's avatar Tim Clem Committed by Alexandre Julliard

winemac.drv: Return success from query_ime_char_rect.

Fixes misplaced IME windows.
parent 18522a05
...@@ -414,6 +414,7 @@ BOOL query_ime_char_rect(macdrv_query* query) ...@@ -414,6 +414,7 @@ BOOL query_ime_char_rect(macdrv_query* query)
NtUserMapWindowPoints(info.hwndCaret, 0, (POINT*)&info.rcCaret, 2); NtUserMapWindowPoints(info.hwndCaret, 0, (POINT*)&info.rcCaret, 2);
if (range->length && info.rcCaret.left == info.rcCaret.right) info.rcCaret.right++; if (range->length && info.rcCaret.left == info.rcCaret.right) info.rcCaret.right++;
query->ime_char_rect.rect = cgrect_from_rect(info.rcCaret); query->ime_char_rect.rect = cgrect_from_rect(info.rcCaret);
ret = TRUE;
} }
TRACE_(imm)(" -> %s range %ld-%ld rect %s\n", ret ? "TRUE" : "FALSE", range->location, TRACE_(imm)(" -> %s range %ld-%ld rect %s\n", ret ? "TRUE" : "FALSE", range->location,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment