summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2014-01-27 23:16:08 +0100
committerBert Münnich <ber.t@posteo.de>2014-02-02 14:36:10 +0100
commite2fa49ecfea58d8ec77b633fcee66e2b7ed95467 (patch)
treeb1a1b72fc0fa1c4b11cccdb3a4354ceeef38d611 /main.c
parentf6510b0a04e9351f0cea740d2237ebe293125f4c (diff)
downloadnsxiv-e2fa49ecfea58d8ec77b633fcee66e2b7ed95467.tar.zst
Unified X atom initialization
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index f95b4f4..90916e3 100644
--- a/main.c
+++ b/main.c
@@ -682,7 +682,7 @@ void run(void)
on_buttonpress(&ev.xbutton);
break;
case ClientMessage:
- if ((Atom) ev.xclient.data.l[0] == wm_delete_win)
+ if ((Atom) ev.xclient.data.l[0] == atoms[ATOM_WM_DELETE_WINDOW])
return;
break;
case ConfigureNotify: