summary refs log tree commit diff
path: root/src/x11.zig
blob: faea858c59a56247630b9e9e90979cbd43c54541 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
const xlib = @cImport({ @cInclude("X11/Xlib.h"); });
pub const Atom = xlib.Atom;
pub const Display = xlib.Display;
pub const Event = xlib.XEvent;
pub const False = xlib.False;
pub const Window = xlib.Window;
pub const closeDisplay = xlib.XCloseDisplay;
pub const getAtom = xlib.XInternAtom;
pub const getDefaultRootWindow = xlib.XDefaultRootWindow;
pub const nextEvent = xlib.XNextEvent;
pub const openDisplay = xlib.XOpenDisplay;

const xfixes = @import("xfixes.zig");
pub const getSelection = xfixes.getSelection;