aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
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: