diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-04-07 23:14:13 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-04-07 23:14:13 -0400 |
commit | 133d3a7c48dc780982622215a3dc0f58abb6cf55 (patch) | |
tree | 4ced3fa7ff4cc98c5c41a2eab754dba82be2e69b /xlib.h | |
parent | a8c3d350a87d83c5c8e0b53a89fff85d72873166 (diff) | |
download | runes-133d3a7c48dc780982622215a3dc0f58abb6cf55.tar.gz runes-133d3a7c48dc780982622215a3dc0f58abb6cf55.zip |
handle closing the window
Diffstat (limited to 'xlib.h')
-rw-r--r-- | xlib.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -3,11 +3,18 @@ #include <X11/Xlib.h> +enum runes_atoms { + RUNES_ATOM_WM_DELETE_WINDOW, + RUNES_NUM_ATOMS +}; + struct runes_window { Display *dpy; Window w; GC gc; XIC ic; + + Atom atoms[RUNES_NUM_ATOMS]; }; struct xlib_loop_data { |