74 #define ATOM_ENUM(x) x
76 #define ATOM_CHAR(x) #x
79 #define EWMH_ATOMS(X) \
80 X(_NET_WM_WINDOW_OPACITY), X(I3_SOCKET_PATH), X(UTF8_STRING), X(STRING), \
81 X(CLIPBOARD), X(WM_WINDOW_ROLE), X(_XROOTPMAP_ID), X(_MOTIF_WM_HINTS), \
82 X(WM_TAKE_FOCUS), X(ESETROOT_PMAP_ID)
138 extern xcb_depth_t *
depth;
142 extern xcb_visualtype_t *
visual;
146 extern xcb_colormap_t
map;
int monitor_active(workarea *mon)
cairo_surface_t * x11_helper_get_screenshot_surface(void)
void rofi_xcb_revert_input_focus(void)
void rofi_xcb_set_input_focus(xcb_window_t w)
@ WM_PANGO_WORKSPACE_NAMES
@ WM_DO_NOT_CHANGE_CURRENT_DESKTOP
void x11_set_cursor(xcb_window_t window, X11CursorType type)
struct _workarea workarea
cairo_surface_t * x11_helper_get_bg_surface(void)
cairo_surface_t * x11_helper_get_screenshot_surface_window(xcb_window_t window, int size)
xcb_window_t xcb_stuff_get_root_window(void)
void window_set_atom_prop(xcb_window_t w, xcb_atom_t prop, xcb_atom_t *atoms, int count)
const char * netatom_names[]
void cairo_image_surface_blur(cairo_surface_t *surface, double radius, double deviation)
WindowManagerQuirk current_window_manager
char * window_get_text_prop(xcb_window_t w, xcb_atom_t atom)
void x11_disable_decoration(xcb_window_t window)
xcb_atom_t netatoms[NUM_NETATOMS]
xcb_visualtype_t * visual