MTX11-Note: fix x11 thread bug