diff options
author | Grant Gayed <ggayed> | 2010-11-08 21:42:23 +0000 |
---|---|---|
committer | Grant Gayed <ggayed> | 2010-11-08 21:42:23 +0000 |
commit | d093cc68c5c30bc2f400dfc4e119d6f2ee3b6bc6 (patch) | |
tree | 750356cdaf12a8e5b11bdb7f495581e890c98f08 /bundles/org.eclipse.swt/Eclipse SWT OLE Win32 | |
parent | c43bd660251b96f989817791778074c5e8e0d3b7 (diff) | |
download | eclipse.platform.swt-d093cc68c5c30bc2f400dfc4e119d6f2ee3b6bc6.tar.gz eclipse.platform.swt-d093cc68c5c30bc2f400dfc4e119d6f2ee3b6bc6.tar.xz eclipse.platform.swt-d093cc68c5c30bc2f400dfc4e119d6f2ee3b6bc6.zip |
324102 - Backspace key, delete key and tab stop working when my application is minimized
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT OLE Win32')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleControlSite.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleControlSite.java b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleControlSite.java index 1995dc96c3..b9e5a69fd5 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleControlSite.java +++ b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleControlSite.java @@ -684,6 +684,13 @@ void onFocusOut(Event e) { super.onFocusOut(e); return; } + + /* + * FocusOut is received when focus is reassigned between handles within + * our site. In such cases the site should not be UIDeactivated. + */ + if (isFocusControl()) return; + /* * Bug in Windows. When IE7 loses focus and UIDeactivate() * is called, IE destroys the caret even though it is |