From e2fa49ecfea58d8ec77b633fcee66e2b7ed95467 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20M=C3=BCnnich?= Date: Mon, 27 Jan 2014 23:16:08 +0100 Subject: Unified X atom initialization --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.c') 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: -- cgit v1.2.3