mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-29 01:33:16 +03:00
Make NetSurf's screen a public screen with the name "NetSurf".
svn path=/trunk/netsurf/; revision=5885
This commit is contained in:
parent
24291b6160
commit
7c695048ae
11
amiga/gui.c
11
amiga/gui.c
@ -441,8 +441,12 @@ void gui_init2(int argc, char** argv)
|
|||||||
SA_Depth,option_screen_depth,
|
SA_Depth,option_screen_depth,
|
||||||
SA_DisplayID,id,
|
SA_DisplayID,id,
|
||||||
SA_Title,nsscreentitle,
|
SA_Title,nsscreentitle,
|
||||||
|
SA_Type,CUSTOMSCREEN,
|
||||||
|
SA_PubName,"NetSurf",
|
||||||
SA_LikeWorkbench,TRUE,
|
SA_LikeWorkbench,TRUE,
|
||||||
TAG_DONE);
|
TAG_DONE);
|
||||||
|
|
||||||
|
if(scrn) PubScreenStatus(scrn,0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -536,6 +540,13 @@ void ami_handle_msg(void)
|
|||||||
struct InputEvent *ie;
|
struct InputEvent *ie;
|
||||||
struct Node *tabnode;
|
struct Node *tabnode;
|
||||||
|
|
||||||
|
if(IsMinListEmpty(window_list))
|
||||||
|
{
|
||||||
|
/* no windows in list, so NetSurf should not be running */
|
||||||
|
netsurf_quit = true;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
node = (struct nsObject *)GetHead((struct List *)window_list);
|
node = (struct nsObject *)GetHead((struct List *)window_list);
|
||||||
|
|
||||||
do
|
do
|
||||||
|
Loading…
Reference in New Issue
Block a user