Remove ptr_container from X11 backend