summaryrefslogtreecommitdiff
path: root/atari
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2011-01-22 16:30:55 +0000
committerOle Loots <ole@monochrom.net>2011-01-22 16:30:55 +0000
commit67fa1c50f15baff876b7b4b161d68c69321b643a (patch)
tree1e23595a5cafc938c1587b6e690d980c63a02aaf /atari
parent4e944c1a69962ef16c8a8ada13c72f2e374303e7 (diff)
downloadnetsurf-67fa1c50f15baff876b7b4b161d68c69321b643a.tar.gz
netsurf-67fa1c50f15baff876b7b4b161d68c69321b643a.tar.bz2
Introduced attached flag for Statusbar.
svn path=/trunk/netsurf/; revision=11441
Diffstat (limited to 'atari')
-rw-r--r--atari/browser_win.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/atari/browser_win.c b/atari/browser_win.c
index 0f6391d6c..9baa2b368 100644
--- a/atari/browser_win.c
+++ b/atari/browser_win.c
@@ -106,6 +106,7 @@ int window_create( struct gui_window * gw, struct browser_window * bw, unsigned
gw->root = malloc( sizeof(struct s_gui_win_root) );
if( gw->root == NULL )
return( -1 );
+ memset( gw->root, 0, sizeof(struct s_gui_win_root) );
gw->root->handle = WindCreate( flags,40, 40, app.w, app.h );
gw->root->cmproot = mt_CompCreate(&app, CLT_VERTICAL, 1, 1);
WindSetPtr( gw->root->handle, WF_COMPONENT, gw->root->cmproot, NULL);
@@ -217,6 +218,9 @@ void window_open( struct gui_window * gw)
plotter->move( plotter, br.g_x, br.g_y );
plotter->resize( plotter, br.g_w, br.g_h );
gw->browser->attached = true;
+ if( gw->root->statusbar != NULL ){
+ gw->root->statusbar->attached = true;
+ }
snd_rdw( gw->root->handle );
}