The following shows the diffstat and patchsets between
c5cea0f..d4ad353^
----------------------------------------------------------------
commit d4ad35376910c70b07d4aad31d087a50c5b4f804
Merge: c5cea0f 2f2ebb3
Author: Thomas Adam <[email protected]>
Date:   Thu Oct 16 20:15:26 2014 +0100

    Merge branch 'branch-2_6'

commit 2f2ebb30f6ccce1b4d576a3499d59b862faff9f2
Merge: 69a8b9c 26d19b6
Author: Thomas Adam <[email protected]>
Date:   Thu Oct 16 20:13:16 2014 +0100

    Merge remote-tracking branch 'cvs/branch-2_6' into branch-2_6

commit 26d19b65038e0eb2e9186724d44894780dd40b33
Author: domivogt <domivogt>
Date:   Sun Sep 21 15:15:58 2014 +0000

    Discard events for windows that are being destroyed.
---
 ChangeLog     | 6 ++++++
 fvwm/events.c | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 5cef98b..fb46cb7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-09-21  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>
+
+       * fvwm/events.c (dispatch_event):
+       Ignore window events other than DestroyNotify when the window is being
+       destroyed.
+
 2014-09-20  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>
 
        * fvwm/ewmh_events.c (ewmh_RestackWindow, ewmh_MoveResizeWindow):
diff --git a/fvwm/events.c b/fvwm/events.c
index 110609d..3ea69bb 100644
--- a/fvwm/events.c
+++ b/fvwm/events.c
@@ -4294,6 +4294,12 @@ void dispatch_event(XEvent *e)
        {
                fw = NULL;
        }
+       if (
+               fw != NULL && IS_SCHEDULED_FOR_DESTROY(fw) &&
+               e->type != DestroyNotify)
+       {
+               return;
+       }
        last_event_type = e->type;
        event_group = base_event_group;
        while (

----------------------------------------------------------------

Diffstat:

----------------------------------------------------------------
 legacy/ChangeLog | 6 ++++++
 mvwm/events.c    | 6 ++++++
 2 files changed, 12 insertions(+)

----------------------------------------------------------------

Reply via email to