diff options
author | Markus Keller | 2017-02-01 19:27:39 +0000 |
---|---|---|
committer | Markus Keller | 2017-02-01 19:27:39 +0000 |
commit | fbd77b91884962ff2e926458dc0e799f6fe36f4f (patch) | |
tree | 2bb6ac454314ce3b4f0dfab1b3bf0fde8b4fbb92 /bundles/org.eclipse.swt/Eclipse SWT/win32 | |
parent | 8143a92f878d8706bb5b6ee62647e6fa7358fd59 (diff) | |
download | eclipse.platform.swt-fbd77b91884962ff2e926458dc0e799f6fe36f4f.tar.gz eclipse.platform.swt-fbd77b91884962ff2e926458dc0e799f6fe36f4f.tar.xz eclipse.platform.swt-fbd77b91884962ff2e926458dc0e799f6fe36f4f.zip |
Bug 509947: [win32] Rollover tooltip on TreeItem of non-focused shell drawn at wrong place
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/win32')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java index 26bea48894..6aca92d6b4 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java @@ -1938,7 +1938,7 @@ LRESULT wmNotify (NMHDR hdr, long /*int*/ wParam, long /*int*/ lParam) { * feature that can also be observed in the Windows Explorer. * See bug 491627 for more details. */ - if (display.getActiveShell () != getShell ()) return LRESULT.ONE; + if (display.getActiveShell () == null) return LRESULT.ONE; display.lockActiveWindow = true; int flags = OS.SWP_NOACTIVATE | OS.SWP_NOMOVE | OS.SWP_NOSIZE; |