diff options
author | Bert Münnich <ber.t@posteo.de> | 2014-01-27 23:16:08 +0100 |
---|---|---|
committer | Bert Münnich <ber.t@posteo.de> | 2014-02-02 14:36:10 +0100 |
commit | e2fa49ecfea58d8ec77b633fcee66e2b7ed95467 (patch) | |
tree | b1a1b72fc0fa1c4b11cccdb3a4354ceeef38d611 /window.h | |
parent | f6510b0a04e9351f0cea740d2237ebe293125f4c (diff) | |
download | nsxiv-e2fa49ecfea58d8ec77b633fcee66e2b7ed95467.tar.zst |
Unified X atom initialization
Diffstat (limited to 'window.h')
-rw-r--r-- | window.h | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -29,6 +29,16 @@ enum { BAR_R_LEN = 64 }; +enum { + ATOM_WM_DELETE_WINDOW, + ATOM__NET_WM_NAME, + ATOM__NET_WM_ICON_NAME, + ATOM__NET_WM_ICON, + ATOM__NET_WM_STATE, + ATOM__NET_WM_STATE_FULLSCREEN, + ATOM_COUNT +}; + typedef struct { Display *dpy; int scr; @@ -67,7 +77,7 @@ typedef struct { } bar; } win_t; -extern Atom wm_delete_win; +extern Atom atoms[ATOM_COUNT]; void win_init(win_t*); void win_open(win_t*); |