commit 1fb3ec576ca4de2056a914b8bc3fd5ba8e99429e
Author: Bert Münnich <ber.t_AT_posteo.de>
AuthorDate: Wed May 17 15:51:47 2017 +0200
Commit: Bert Münnich <ber.t_AT_posteo.de>
CommitDate: Wed May 17 15:51:47 2017 +0200
Properly quit when window gets closed; fixes issue #27
diff --git a/main.c b/main.c
index d903c7b..9e337f4 100644
--- a/main.c
+++ b/main.c
_AT_@ -739,7 +739,7 @@ void run(void)
break;
case ClientMessage:
if ((Atom) ev.xclient.data.l[0] == atoms[ATOM_WM_DELETE_WINDOW])
- return;
+ cmds[g_quit].func(0);
break;
case ConfigureNotify:
if (win_configure(&win, &ev.xconfigure)) {
Received on Wed May 17 2017 - 20:26:17 CEST
This archive was generated by hypermail 2.3.0
: Wed May 17 2017 - 20:36:23 CEST