1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Fix for 237755: macro exploration sticky popup vanishing too early on Linux/GTK

This commit is contained in:
Anton Leherbauer 2008-06-19 11:36:55 +00:00
parent d65887df09
commit 69c7d9a20d

View file

@ -438,7 +438,8 @@ public abstract class AbstractSourceViewerInformationControl extends PopupDialog
* {@inheritDoc}
*/
public boolean isFocusControl() {
return fSourceViewer.getTextWidget().isFocusControl();
final Shell shell = getShell();
return shell.getDisplay().getActiveShell() == shell;
}
/**