diff options
author | Paul D'Pong | 2021-02-03 18:28:24 +0000 |
---|---|---|
committer | Paul D'Pong | 2021-02-03 18:28:24 +0000 |
commit | f544547013b75b7da1e04533cc11de269067332c (patch) | |
tree | 8eaca9a4d9da919c847cbc41dc06e1319ab8e7c4 | |
parent | b341a11791ba136486c2c2c40b4a3117119645b8 (diff) | |
download | eclipse.platform.swt-f544547013b75b7da1e04533cc11de269067332c.tar.gz eclipse.platform.swt-f544547013b75b7da1e04533cc11de269067332c.tar.xz eclipse.platform.swt-f544547013b75b7da1e04533cc11de269067332c.zip |
Bug 570885 - [GTK] Fixed spelling error in checkAndUnrabFocus
Change-Id: Ia9f99e484db0407023b4c3bd7ba298870e4f89a4
Signed-off-by: Paul D'Pong <sdamrong@redhat.com>
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java | 6 |
1 files changed, 3 insertions, 3 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 5dc3c02798..7650a37e6e 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 @@ -2996,7 +2996,7 @@ public void setVisible (boolean visible) { } } else { fixActiveShell (); - checkAndUnrabFocus(); + checkAndUngrabFocus(); GTK.gtk_widget_hide (shellHandle); sendEvent (SWT.Hide); } @@ -3268,7 +3268,7 @@ boolean requiresUngrab () { * SWT.ON_TOP shells on Wayland requires gdk_seat_grab to grab keyboard/input focus, * the grabbed focus need to be removed when Shell is disposed/hidden. */ -void checkAndUnrabFocus () { +void checkAndUngrabFocus () { /* * Bug 515773, 542104: Wayland POPUP window limitations * In bringToTop(), we grabbed keyboard/pointer focus to popup shell, which needs to @@ -3310,7 +3310,7 @@ public void dispose () { */ if (isDisposed()) return; fixActiveShell (); - checkAndUnrabFocus(); + checkAndUngrabFocus(); /* * Bug 540166: Dispose the popup child if any when the parent is disposed so that * it does not remain open forever. |