Hi,
I have a problem running Java applications.
The problem is that I have a setting in my config to reduce the
opacity of unfocused windows:
client.add_signal("focus",
function(c)
c.border_color = beautiful.border_focus
c.opacity = 1.0
end)
client.add_signal("unfocus",
function(c)
c.border_color = beautiful.border_normal
c.opacity = 0.8
end)
When I open a Java application the window is always opaque,
regardless of the focus, it's active and working, nevertheless. When
I am in tiling mode and open another window (e.g. a terminal or file
manager) the Java applications display normally - without opacity
when they are focused. The focused opaque windows only appear if the
Java application is the only one displayed or if it's set to
fullscreen.
I have already set the environment suggested in the wiki:
export _JAVA_AWT_WM_NONREPARENTING=1
export AWT_TOOLKIT='MToolkit'
and tried the wmname utility, to no avail. The one thing that all
weird-behaving Java applications have in common is a
WM_CLASS(STRING) = "sun-awt-X11-XFramePeer", …
I don't know if all java GUIs have this value, I'm not a Java
expert.
One workaround is to disable the opacity setting. But I'd like to
fix this somehow. Any ideas?
Marco
--
To unsubscribe, send mail to [email protected].