Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXi Yan2018-11-26 10:27:30 -0500
committerXi Yan2018-11-26 10:27:30 -0500
commitb824e103e113fb045c5148e349d48ef38fb7e694 (patch)
tree6595e62224bb069b065dc0706583401883caea69
parent4f1dc4d293b947f57c46577c047c26655532a383 (diff)
downloadeclipse.platform.swt-b824e103e113fb045c5148e349d48ef38fb7e694.tar.gz
eclipse.platform.swt-b824e103e113fb045c5148e349d48ef38fb7e694.tar.xz
eclipse.platform.swt-b824e103e113fb045c5148e349d48ef38fb7e694.zip
Bug 541185 - [Wayland] Help popup close after a click
Reset ignorFocusOutAfterGrab flag, missed by previous patch. Change-Id: I67a206ce08716bc859f1976ddd0ff4bfe269f5e5 Signed-off-by: Xi Yan <xixiyan@redhat.com>
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
index 7b82b91916..4de6cc3480 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
@@ -1493,6 +1493,7 @@ long /*int*/ gtk_focus_out_event (long /*int*/ widget, long /*int*/ event) {
sendEvent (SWT.Deactivate);
setActiveControl (null);
}
+ ignoreFocusOutAfterGrab = false;
if (display.activeShell == this && !ignoreFocusOut) {
display.activeShell = null;
display.activePending = false;

Back to the top