diff options
author | Bert Münnich <ber.t@posteo.de> | 2017-05-17 15:51:47 +0200 |
---|---|---|
committer | Bert Münnich <ber.t@posteo.de> | 2017-05-17 15:51:47 +0200 |
commit | 1fb3ec576ca4de2056a914b8bc3fd5ba8e99429e (patch) | |
tree | 06127d75fdd03ba81470ffa71306a9fdf68c02f6 | |
parent | e98266b1483e9fb2683bbd26e3e8d48dd1f58cec (diff) |
Properly quit when window gets closed; fixes issue #27
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) { |