From 999410adc818e9bc9e566580b38954720d7dad55 Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Mon, 28 Nov 2011 23:23:28 +0000 Subject: I'm actually trying to simplify the frontend code, changes: - Optimized browser window caret, uses back-buffer now. ( So no content redraw is scheduled by the frontend just for a caret move ) - Fixed a double redraw issue when the browser reformat is pending and the AES also sends an redraw request because of the resize. - Started to use netsurfs textarea instead of a custom implementation ( to reduce code size ). svn path=/trunk/netsurf/; revision=13191 --- atari/treeview.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'atari/treeview.c') diff --git a/atari/treeview.c b/atari/treeview.c index 07fe395fb..1c1c9b9ab 100755 --- a/atari/treeview.c +++ b/atari/treeview.c @@ -104,8 +104,10 @@ static void __CDECL evnt_tv_redraw( WINDOW *win, short buff[8], void * data ) clip.g_y = 0; } if( clip.g_h > 0 && clip.g_w > 0 ) { - atari_treeview_request_redraw( win->xpos*win->w_u + clip.g_x, win->ypos*win->h_u + clip.g_y, - clip.g_w, clip.g_h, tv + atari_treeview_request_redraw( + win->xpos*win->w_u + clip.g_x, + win->ypos*win->h_u + clip.g_y, + clip.g_w, clip.g_h, tv ); } } @@ -355,7 +357,7 @@ void atari_treeview_redraw( NSTREEVIEW tv) */ void atari_treeview_request_redraw(int x, int y, int w, int h, void *pw) { - if (pw != NULL) { + if ( pw != NULL ) { NSTREEVIEW tv = (NSTREEVIEW) pw; if( tv->redraw == false ){ tv->redraw = true; -- cgit v1.2.3