Commit d817936
Restore focus that is lost during Control.setParent()
When calling Control.setParent() during a perspective switch, focus is
lost on GTK3. This change restores the focus to the last control that
had it, after the reparenting operation.
Fixes: #1915
Signed-off-by: Simeon Andreev <[email protected]>1 parent 4184369 commit d817936
File tree
1 file changed
+6
-0
lines changed- bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets
1 file changed
+6
-0
lines changedLines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5840 | 5840 | | |
5841 | 5841 | | |
5842 | 5842 | | |
| 5843 | + | |
| 5844 | + | |
5843 | 5845 | | |
5844 | 5846 | | |
5845 | 5847 | | |
| |||
5888 | 5890 | | |
5889 | 5891 | | |
5890 | 5892 | | |
| 5893 | + | |
| 5894 | + | |
| 5895 | + | |
| 5896 | + | |
5891 | 5897 | | |
5892 | 5898 | | |
5893 | 5899 | | |
| |||
0 commit comments