/* * x11_support.h * * Relevant helper functions for acquiring a drawing surface on X11 * Created by buzzert 2019-01-18 */ #pragma once #include #include #include #include void x11_get_display_bounds(int *width, int *height); // Sets up a window and returns a cairo_surface to draw onto cairo_surface_t* x11_helper_acquire_cairo_surface(int width, int height); // Cleanup void x11_helper_destroy_surface(cairo_surface_t *surface);