diff options
| author | Silenio Quarti | 2013-03-27 21:40:29 +0000 |
|---|---|---|
| committer | Carolyn MacLeod | 2013-04-09 14:57:01 +0000 |
| commit | ff673f7b8c50ee2141d3e6c45754b4e0b93a2580 (patch) | |
| tree | 357fb12b6b2c4a48571cf6bf7cf8ee5a88d6a0ad | |
| parent | 3f9213d4528539e1ae27d29da532ba0c1a2e98d9 (diff) | |
| download | eclipse.platform.swt-ff673f7b8c50ee2141d3e6c45754b4e0b93a2580.tar.gz eclipse.platform.swt-ff673f7b8c50ee2141d3e6c45754b4e0b93a2580.tar.xz eclipse.platform.swt-ff673f7b8c50ee2141d3e6c45754b4e0b93a2580.zip | |
Bug 403559 - Intermittent loss of caret (or cursor?)
| -rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleControlSite.java | 3 |
1 files changed, 1 insertions, 2 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 ccb511c64c..f538848137 100644 --- 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 @@ -732,8 +732,7 @@ void onFocusOut(Event e) { OS.ShowCaret (lpgui1.hwndCaret); } } - } - if (lpgui1.hwndFocus != 0 && lpgui1.hwndFocus == OS.GetFocus()) { + } else if (lpgui1.hwndFocus != 0 && lpgui1.hwndFocus == OS.GetFocus()) { OS.SendMessage (lpgui1.hwndFocus, SWT_RESTORECARET, 0, 0); } } |
