diff options
author | Bert <ber.t@gmx.com> | 2011-02-09 10:01:49 +0100 |
---|---|---|
committer | Bert <ber.t@gmx.com> | 2011-02-09 10:01:49 +0100 |
commit | d731741f046eecdf2788154b0387baf8f2e67007 (patch) | |
tree | 5f554c26bde98a11a2487297d2ffd5d6cd67e936 /main.c | |
parent | a5335e8ddde6aa53e6f625f5ce1ffd6f7ec098c5 (diff) |
Handle WM_DELETE_WINDOW messages correctly, thanks to fungt
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -475,6 +475,10 @@ void run() { timeout = 1; } break; + case ClientMessage: + if ((Atom) ev.xclient.data.l[0] == wm_delete_win) + return; + break; } } } |