OSDN Git Service

IME support: do not handle conversion mode reporting (e.g. native input, alphanumeric...
authorMichael Curran <mick@kulgan.net>
Wed, 5 Sep 2012 03:45:42 +0000 (13:45 +1000)
committerMichael Curran <mick@kulgan.net>
Wed, 5 Sep 2012 03:45:42 +0000 (13:45 +1000)
nvdaHelper/remote/ime.cpp

index 61fa5ad..4c26211 100644 (file)
@@ -212,6 +212,7 @@ void handleReadingStringUpdate(HWND hwnd) {
 }\r
 \r
 void handleIMEConversionModeUpdate(HWND hwnd, bool report) {\r
+       if(!ImmGetProperty(GetKeyboardLayout(0),IGP_CONVERSION)) return;\r
        /* Obtain IME context */\r
        HIMC imc = ImmGetContext(hwnd);\r
        if (!imc)  return;\r