summaryrefslogtreecommitdiffstats
path: root/chrome/common/x11_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/x11_util.h')
-rw-r--r--chrome/common/x11_util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/common/x11_util.h b/chrome/common/x11_util.h
index d9bcbb5..09b1c2b 100644
--- a/chrome/common/x11_util.h
+++ b/chrome/common/x11_util.h
@@ -34,6 +34,8 @@ namespace x11_util {
// These functions cache their results.
+// Check if there's an open connection to an X server.
+bool XDisplayExists();
// Return an X11 connection for the current, primary display.
Display* GetXDisplay();
// Return true iff the connection supports X shared memory