const x11 = @import("x11.zig"); pub fn main() anyerror!void { const display = x11.openDisplay(null) orelse return error.SystemResources; defer _ = x11.closeDisplay(display); const root = x11.getDefaultRootWindow(display); x11.getSelection(display, root, "PRIMARY"); x11.getSelection(display, root, "CLIPBOARD"); var event: x11.Event = undefined; _ = x11.nextEvent(display, &event); }