Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Commit

Permalink
Properly quit when window gets closed; fixes issue #27
Browse files Browse the repository at this point in the history
  • Loading branch information
xyb3rt committed May 17, 2017
1 parent e98266b commit 1fb3ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Expand Up @@ -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)) {
Expand Down

0 comments on commit 1fb3ec5

Please sign in to comment.