1 // Copyright 2014 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "ui/gfx/x/x11_connection.h" 6 7 #include <X11/Xlib.h> 8 9 #include "ui/gfx/x/x11_types.h" 10 11 namespace gfx { 12 InitializeThreadedX11()13bool InitializeThreadedX11() { 14 return XInitThreads() && gfx::GetXDisplay(); 15 } 16 17 } // namespace gfx 18