Commit 7bfb37a
authored
Implement GTK event processing in while javascript call (Gtk WebView)
Add GTK event handling for webview on Linux when a call is made to javascript.
Reason: If no Gtk Events are processed during javascript calls,
the application can lock up. A very simple use case to make
the GtkWebView lock up:
```c
char response[64];
webui_script(win, "alert('hi');return 4 + 6;", 0, response, 64);
```1 parent 3093057 commit 7bfb37a
1 file changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
953 | 953 | | |
954 | 954 | | |
955 | 955 | | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
956 | 963 | | |
957 | 964 | | |
958 | 965 | | |
| |||
966 | 973 | | |
967 | 974 | | |
968 | 975 | | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
969 | 983 | | |
970 | 984 | | |
971 | 985 | | |
| |||
0 commit comments