summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-03-05 22:53:33 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2013-03-05 22:54:51 +0000
commit037beb44fb8f14c80963e54e9b430a0ef03a9d5d (patch)
tree86a19cc2da29f7aa405126ef4dc17ae7e02855d1 /amiga
parente8950dee22e82c00dcf48efe2b7125d87776c682 (diff)
downloadnetsurf-037beb44fb8f14c80963e54e9b430a0ef03a9d5d.tar.gz
netsurf-037beb44fb8f14c80963e54e9b430a0ef03a9d5d.tar.bz2
Pass caret clip rect out to front ends. (Nothing actually using them yet.)
Diffstat (limited to 'amiga')
-rw-r--r--amiga/gui.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index 73f26ce1b..9820a036b 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -2130,7 +2130,7 @@ void ami_handle_msg(void)
if(gwin->bw->window->c_h)
{
gui_window_place_caret(gwin->bw->window, gwin->bw->window->c_x,
- gwin->bw->window->c_y, gwin->bw->window->c_h);
+ gwin->bw->window->c_y, gwin->bw->window->c_h, NULL);
}
}
} while(node = nnode);
@@ -4651,7 +4651,8 @@ static uint32 ami_set_throbber_render_hook(struct Hook *hook, APTR space,
return 0;
}
-void gui_window_place_caret(struct gui_window *g, int x, int y, int height)
+void gui_window_place_caret(struct gui_window *g, int x, int y, int height,
+ const struct rect *clip)
{
struct IBox *bbox;
ULONG xs,ys;