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:
parent
d65887df09
commit
69c7d9a20d
1 changed files with 2 additions and 1 deletions
|
@ -438,7 +438,8 @@ public abstract class AbstractSourceViewerInformationControl extends PopupDialog
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*/
|
*/
|
||||||
public boolean isFocusControl() {
|
public boolean isFocusControl() {
|
||||||
return fSourceViewer.getTextWidget().isFocusControl();
|
final Shell shell = getShell();
|
||||||
|
return shell.getDisplay().getActiveShell() == shell;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue