Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#57220 - [jre8-openjdk] Respect _JAVA_AWT_WM_NONREPARENTING ?
Attached to Project:
Arch Linux
Opened by Leif Warner (pdxleif) - Wednesday, 24 January 2018, 22:18 GMT
Last edited by Eli Schwartz (eschwartz) - Wednesday, 31 January 2018, 01:14 GMT
Opened by Leif Warner (pdxleif) - Wednesday, 24 January 2018, 22:18 GMT
Last edited by Eli Schwartz (eschwartz) - Wednesday, 31 January 2018, 01:14 GMT
|
DetailsIs this patch still necessary on OpenJDK 8?
https://git.archlinux.org/svntogit/packages.git/tree/trunk/openjdk7_nonreparenting-wm.diff?h=packages/java7-openjdk#n27 I'm having issues with window focus in Java-based GUIs (IntelliJ) under XMonad. Adding setWMName "LG3D" seems to help, but that hasn't been necessary in the past after support for "export _JAVA_AWT_WM_NONREPARENTING=1" was added to the JDK. |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Wednesday, 31 January 2018, 01:14 GMT
Reason for closing: Not a bug
Additional comments about closing: This does not seem to be necessary for jdk8 after all.
Wednesday, 31 January 2018, 01:14 GMT
Reason for closing: Not a bug
Additional comments about closing: This does not seem to be necessary for jdk8 after all.
So it looks like this should be added to our openjdk 8 package as well...
http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/file/e95a13de2d36/src/solaris/classes/sun/awt/X11/XWM.java#l598
I was not certain about that so I checked the source arch was pulling directly
$ git clone git://git.archlinux.org/svntogit/packages.git --single-branch --branch "packages/java8-openjdk"
$ cd packages/trunk/
$ makepkg -odd
$ grep awtWMNonReparenting src/jdk8u-jdk8u144-b01/jdk/src/solaris/classes/sun/awt/X11/XWM.java
static int awtWMNonReparenting = -1;
if (awtWMNonReparenting == -1) {
awtWMNonReparenting = (XToolkit.getEnv("_JAVA_AWT_WM_NONREPARENTING") != null) ? 1 : 0;
return (awtWMNonReparenting == 1 || XWM.getWMID() == XWM.COMPIZ_WM
Seems the patch is applied