mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-23 14:59:47 +03:00
make new window work
svn path=/trunk/netsurf/; revision=9953
This commit is contained in:
parent
0eb9663b1c
commit
36a21bdae4
@ -1135,8 +1135,11 @@ LRESULT CALLBACK nsws_window_event_callback(HWND hwnd, UINT msg, WPARAM wparam,
|
||||
case NSWS_ID_FILE_OPEN_LOCATION:
|
||||
SetFocus(w->urlbar);
|
||||
break;
|
||||
|
||||
case NSWS_ID_FILE_OPEN_WINDOW:
|
||||
browser_window_create(NULL, w->bw, NULL, false, false);
|
||||
break;
|
||||
|
||||
case NSWS_ID_FILE_CLOSE_WINDOW:
|
||||
PostMessage(hwnd, WM_CLOSE, 0, 0);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user