summaryrefslogtreecommitdiffstats
path: root/ui/gfx/x/x11_connection.cc
blob: c5ee77f40d8f048cb912a074f71c13da00377268 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/gfx/x/x11_connection.h"

#include <X11/Xlib.h>

#include "ui/gfx/x/x11_types.h"

namespace gfx {

bool InitializeThreadedX11() {
  return XInitThreads() && gfx::GetXDisplay();
}

}  // namespace gfx