Window.grab: def of Base Import: import Base Lines 497-501 of Base/base.bend: https://jend.leeeet.dev/read.txt?path=Base/base.bend&start_line=497&end_line=501 import Base # While grabbed, the cursor is hidden and held, and the mouse's motion # comes as Look deltas instead of Move; losing focus releases it. def Window.grab(window: Window, on: Bool) -> IO(Window): import "./effs/window.c" import "./effs/window_grab.js" Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Window