gitlab-ci: enable sanitizers for the meson builds
[mesa-waffle.git] / src / waffle / x11 / x11_display.h
blob5d95b165bc68fc160cc919f66ae370bf1640c708
1 // SPDX-FileCopyrightText: Copyright 2012 Intel Corporation
2 // SPDX-License-Identifier: BSD-2-Clause
4 #pragma once
6 #include <stdbool.h>
8 #include <X11/Xlib-xcb.h>
10 struct x11_display {
11 Display *xlib;
12 xcb_connection_t *xcb;
13 int screen;
16 bool
17 x11_display_init(struct x11_display *self, const char *name);
19 bool
20 x11_display_teardown(struct x11_display *self);