We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ece1af commit 349e785Copy full SHA for 349e785
bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/Edge.java
@@ -695,6 +695,12 @@ void setupBrowser(int hr, long pv) {
695
// initialized, nothing is drawn on the shell. We need browserResize to force
696
// the shell to draw itself again.
697
browserResize(new Event());
698
+
699
+ // Check whether the browser was made the focus control while we were
700
+ // initializing the runtime and apply it accordingly.
701
+ if (browser.isFocusControl()) {
702
+ browserFocusIn(new Event());
703
+ }
704
}
705
706
void browserDispose(Event event) {
0 commit comments