Commit 5f62231
committed
[Win32] Make Edge only process relevant OS messages #1789
When waiting for initialization of the WebView2 component in the Edge
implementation, OS messages are processed by peeking the queue and
performing a display.readAndDispatch() in case a message is present. The
call to OS.PeekMessage() does, however, already perform some processing
of the messages. In fact, Edge is not supposed to process all kinds of
OS messages at all (like paint or input events) but should rather only
process the WebView2 initialization callback message, arriving as a
posted OS message. This change thus limits the message peeking inside
Edge to only process the message type PM_QS_POSTMESSAGE.
Fixes #17891 parent 920fe85 commit 5f62231
File tree
1 file changed
+1
-1
lines changed- bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
513 | | - | |
| 513 | + | |
514 | 514 | | |
515 | 515 | | |
516 | 516 | | |
| |||
0 commit comments