mirror of
https://github.com/polybar/polybar.git
synced 2024-11-11 13:50:56 -05:00
19 lines
507 B
C++
19 lines
507 B
C++
#pragma once
|
|
|
|
#include <X11/Xlib-xcb.h>
|
|
#include <xcb/xcb_util.h>
|
|
|
|
#include "common.hpp"
|
|
|
|
LEMONBUDDY_NS
|
|
|
|
namespace xutils {
|
|
xcb_connection_t* get_connection();
|
|
|
|
void pack_values(uint32_t mask, const uint32_t* src, uint32_t* dest);
|
|
void pack_values(uint32_t mask, const xcb_params_cw_t* src, uint32_t* dest);
|
|
void pack_values(uint32_t mask, const xcb_params_gc_t* src, uint32_t* dest);
|
|
void pack_values(uint32_t mask, const xcb_params_configure_window_t* src, uint32_t* dest);
|
|
}
|
|
|
|
LEMONBUDDY_NS_END
|