Project: SWT
Bug 86577 Not removing event filter added with gdk_window_add_filter
Reported: 2005-02-24 18:52:00 | Status: resolved fixed

We use gdk_window_add_filter() to listen for focus events to fix ON_TOP shells. While this call takes a window, this is just the window to search for, and it seems that the filter may not be removed automatically when the window is destroyed. The fix is to use gdk_window_remove_filter() appropriately.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java