RFR: 8239583 [AIX] simplify the native references in X input methods

2020-02-20 Thread Sergey Bylokhov
Hello. Please review the fix for jdk/client. Bug: https://bugs.openjdk.java.net/browse/JDK-8239583 Fix: http://cr.openjdk.java.net/~serb/8239583/webrev.00 The purpose of the change is to eliminate the usage of the AwtScreenDataPtr in the AIX code. This usage was added in the JDK-8201429 to acces

Re: RFR: 8201429: Support AIX Input Method Editor (IME) for AWT Input Method Framework (IMF)

2020-02-20 Thread Langer, Christoph
Hi Sergey, from what I can see your proposed changes seem to make sense, given that XSetForeground and XSetBackground do their job. The change itself comes from Ichiroh-san, I only helped to review/sponsor it at the time and ran a few tests in our infrastructure. I suggest you prepare a patch

Re: RFR: 8201429: Support AIX Input Method Editor (IME) for AWT Input Method Framework (IMF)

2020-02-20 Thread Ichiroh Takiguchi
Hello Sergey. I'm not sure if I understand what you want to change... XCreateGC: The colors are created upper code, they will be overwritten. XSetBackground: I'm sorry, I have no idea about XSetBackground(), I thought background might have default value, But I could not find out the doc. Ich