提交 ae324003 编写于 作者: O omajid

6961123: setWMClass fails to null-terminate WM_CLASS string

Reviewed-by: serb
上级 e68e60be
......@@ -669,7 +669,7 @@ public class XBaseWindow {
XToolkit.awtLock();
try {
XAtom xa = XAtom.get(XAtom.XA_WM_CLASS);
xa.setProperty8(getWindow(), cl[0] + '\0' + cl[1]);
xa.setProperty8(getWindow(), cl[0] + '\0' + cl[1] + '\0');
} finally {
XToolkit.awtUnlock();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册