mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 23:39:51 +03:00
Remove the caret by replacing it with the area under the caret, rather than the area
displayed somewhere else on the page. svn path=/trunk/netsurf/; revision=6338
This commit is contained in:
parent
aa61544828
commit
ad6f72667b
@ -2673,7 +2673,7 @@ void gui_window_remove_caret(struct gui_window *g)
|
||||
GetAttr(SCROLLER_Top,g->shared->objects[OID_HSCROLL],(ULONG *)&xs);
|
||||
GetAttr(SCROLLER_Top,g->shared->objects[OID_VSCROLL],(ULONG *)&ys);
|
||||
|
||||
BltBitMapRastPort(glob.bm,g->c_x+bbox->Left-xs,g->c_y+bbox->Top-ys,g->shared->win->RPort,bbox->Left+g->c_x-xs,bbox->Top+g->c_y-ys,2+1,g->c_h+1,0x0C0);
|
||||
BltBitMapRastPort(glob.bm,g->c_x-xs,g->c_y-ys,g->shared->win->RPort,bbox->Left+g->c_x-xs,bbox->Top+g->c_y-ys,2+1,g->c_h+1,0x0C0);
|
||||
|
||||
g->c_h = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user