add GLX support to HeadlessView::make_inactive