Skip to content

Commit 6a72520

Browse files
committed
One small addition. bind(<window>, "", <function>) must have been
called to catch all navigation events. Signed-off-by: Hans Dijkema <[email protected]>
1 parent 2f25574 commit 6a72520

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/webui.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11894,6 +11894,10 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved) {
1189411894

1189511895
_webui_window_t* win = _webui_dereference_win_ptr(user_data);
1189611896

11897+
if (!win->has_all_events) {
11898+
return false;
11899+
}
11900+
1189711901
if (IS_IN_SHOW(win)) {
1189811902
CHECK_IN_SHOW(win, false)
1189911903
return false;

0 commit comments

Comments
 (0)