From 037beb44fb8f14c80963e54e9b430a0ef03a9d5d Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 5 Mar 2013 22:53:33 +0000 Subject: Pass caret clip rect out to front ends. (Nothing actually using them yet.) --- cocoa/gui.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cocoa') diff --git a/cocoa/gui.m b/cocoa/gui.m index 94de3753b..cd7e6d239 100644 --- a/cocoa/gui.m +++ b/cocoa/gui.m @@ -252,7 +252,8 @@ void gui_window_set_search_ico(hlcache_handle *ico) UNIMPL(); } -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) { [[(BrowserViewController *)g browserView] addCaretAt: cocoa_point( x, y ) height: cocoa_px_to_pt( height )]; -- cgit v1.2.3