Skip to main content

floor_cursor

Function floor_cursor 

Source
pub(crate) fn floor_cursor(page: &mut Page, dropped: usize)
Expand description

Hand the window’s floor back as a page’s cursor when the page opens on the window’s front (#2420).

The window’s own start is not the history’s: a page cut there carries no handle of its own while the history above it begins at the floor. Both a more answer and the session record serve that page, and both must hand the same handle back or a client reads the history above as ended.