Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [albireo-dev] New fix for a focus problem

Bruno Haible wrote:

+                        // Prevent the SWT_AWT-installed listener from running (and deactivating the frame).
+                        event.type = SWT.None;

What a hack! :-) Or is this the equivalent of 'event.consume();' in AWT?

Exactly. It's the documented way to consume an event in a listener added with Display.addFilter().




Back to the top