New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java GUI appears blank #79

ruhlio opened this Issue Jul 27, 2015 · 4 comments


None yet
3 participants

ruhlio commented Jul 27, 2015

XMonad has a SetWMName ( function as a workaround to prevent Java GUIs (AWT I believe) from appears as only a gray rectangle. In my case, Intellij fails to paint. As a first pass I tried, inside of XlibWindowSystem::new() changing
let name = (*CString::new(&b"wtftw"[..]).unwrap()).as_ptr();
let name = (*CString::new(&b"LG3D"[..]).unwrap()).as_ptr();
but the issue still remained.


This comment has been minimized.


Kintaro commented Jul 28, 2015


This should fix it


This comment has been minimized.

ruhlio commented Jul 28, 2015

Setting the environment variable didn't work but calling wmname LG3D did. Thanks


This comment has been minimized.


Kintaro commented Jul 29, 2015

Ok. For me the env variable helped with IntelliJ. But if that works too, great :D

@Kintaro Kintaro closed this Jul 29, 2015


This comment has been minimized.


hryniuk commented May 11, 2018


run!("wmname", "LG3D")(w, w, w);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment