2016-11-02 15:22:45 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <xcb/xcb_atom.h>
|
|
|
|
|
2022-03-06 10:40:42 -05:00
|
|
|
#include <array>
|
|
|
|
#include <string>
|
|
|
|
|
2016-11-02 15:22:45 -04:00
|
|
|
struct cached_atom {
|
2022-03-06 10:40:42 -05:00
|
|
|
const std::string name;
|
|
|
|
xcb_atom_t& atom;
|
2016-11-02 15:22:45 -04:00
|
|
|
};
|
|
|
|
|
2022-09-19 16:45:31 -04:00
|
|
|
extern std::array<cached_atom, 37> ATOMS;
|
2016-11-02 15:22:45 -04:00
|
|
|
|
2016-11-18 22:03:18 -05:00
|
|
|
extern xcb_atom_t _NET_SUPPORTED;
|
|
|
|
extern xcb_atom_t _NET_CURRENT_DESKTOP;
|
|
|
|
extern xcb_atom_t _NET_ACTIVE_WINDOW;
|
2016-11-02 15:22:45 -04:00
|
|
|
extern xcb_atom_t _NET_WM_NAME;
|
|
|
|
extern xcb_atom_t _NET_WM_DESKTOP;
|
2016-11-18 22:03:18 -05:00
|
|
|
extern xcb_atom_t _NET_WM_VISIBLE_NAME;
|
2016-11-02 15:22:45 -04:00
|
|
|
extern xcb_atom_t _NET_WM_WINDOW_TYPE;
|
|
|
|
extern xcb_atom_t _NET_WM_WINDOW_TYPE_DOCK;
|
|
|
|
extern xcb_atom_t _NET_WM_WINDOW_TYPE_NORMAL;
|
|
|
|
extern xcb_atom_t _NET_WM_PID;
|
|
|
|
extern xcb_atom_t _NET_WM_STATE;
|
|
|
|
extern xcb_atom_t _NET_WM_STATE_STICKY;
|
|
|
|
extern xcb_atom_t _NET_WM_STATE_SKIP_TASKBAR;
|
|
|
|
extern xcb_atom_t _NET_WM_STATE_ABOVE;
|
|
|
|
extern xcb_atom_t _NET_WM_STATE_MAXIMIZED_VERT;
|
|
|
|
extern xcb_atom_t _NET_WM_STRUT;
|
|
|
|
extern xcb_atom_t _NET_WM_STRUT_PARTIAL;
|
|
|
|
extern xcb_atom_t WM_PROTOCOLS;
|
|
|
|
extern xcb_atom_t WM_DELETE_WINDOW;
|
|
|
|
extern xcb_atom_t _XEMBED;
|
|
|
|
extern xcb_atom_t _XEMBED_INFO;
|
|
|
|
extern xcb_atom_t MANAGER;
|
|
|
|
extern xcb_atom_t WM_STATE;
|
|
|
|
extern xcb_atom_t _NET_SYSTEM_TRAY_OPCODE;
|
|
|
|
extern xcb_atom_t _NET_SYSTEM_TRAY_ORIENTATION;
|
|
|
|
extern xcb_atom_t _NET_SYSTEM_TRAY_VISUAL;
|
|
|
|
extern xcb_atom_t _NET_SYSTEM_TRAY_COLORS;
|
|
|
|
extern xcb_atom_t WM_TAKE_FOCUS;
|
|
|
|
extern xcb_atom_t Backlight;
|
|
|
|
extern xcb_atom_t BACKLIGHT;
|
2019-01-17 08:22:48 -05:00
|
|
|
extern xcb_atom_t _XROOTPMAP_ID;
|
2016-11-04 13:50:33 -04:00
|
|
|
extern xcb_atom_t _XSETROOT_ID;
|
|
|
|
extern xcb_atom_t ESETROOT_PMAP_ID;
|
2016-11-24 22:10:26 -05:00
|
|
|
extern xcb_atom_t _COMPTON_SHADOW;
|
2017-01-10 23:00:23 -05:00
|
|
|
extern xcb_atom_t _NET_WM_WINDOW_OPACITY;
|
2017-02-20 02:25:19 -05:00
|
|
|
extern xcb_atom_t WM_HINTS;
|
2022-09-19 16:45:31 -04:00
|
|
|
extern xcb_atom_t WM_NAME;
|