code wiki / (root) / nx_x11_window_real_test.nx

nx_x11_window_real_test.nx

buildroot/runtime/nx_x11_window_real_test.nx

2463 B75 linesdepth 5pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic x11
docsdependenciesstructsconstsfunctions

about

nx_x11_window_real_test.nx -- bits-up real Windows window. Session 2 of the bits-up browser arc. Connects to WSLg's X server at /tmp/.X11-unix/X0, creates a 600x400 window with a magenta background, maps it, then sleeps 8 seconds so the user can SEE it pop up on the Windows desktop. expect_exit: 0. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_x11_connect.nx nx_x11_window.nx nx_x11_window_real_test.nx

imports: nx_syscalls.nxnx_x11_connect.nxnx_x11_window.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main nx_x11_connect_local sys_mmap _x11_build_path nx_unix_connect sys_socket sys_mmap ↻ sys_connect sys_close _x11_write_n sys_write sys_close ↻ _x11_read_n sys_read _x11_rd_u16 _x11_rd_u32 dump_dec sys_mmap ↻ sys_write ↻ nx_x11_create_window nx_x11_alloc_id sys_mmap ↻ _x11_wr_u16 _x11_wr_u32 _x11_send sys_write ↻ nx_x11_set_wm_name sys_mmap ↻ _x11_wr_u16 ↻ _x11_wr_u32 ↻ _x11_send ↻ nx_x11_map_window sys_mmap ↻ _x11_wr_u16 ↻ _x11_wr_u32 ↻ _x11_send ↻ nx_x11_flush_via_get_input sys_mmap ↻ _x11_wr_u16 ↻ _x11_send ↻

structs

none

consts

none

functions

15func dump_dec(l0: i64, l1: i64, v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
39func main() -> i64