2 USING: kernel parser io io.files namespaces sequences editors threads vars
3 mortar mortar.sugar slot-accessors
13 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
15 : manage-windows ( -- )
16 dpy get $default-root <- children [ <- mapped? ] filter
17 [ $id <wm-frame> new* drop ] each ;
19 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
23 : create-root-menu ( -- ) <wm-menu> new* 1 <-- set-border-width >root-menu ;
25 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
27 : start-factory ( display-string -- )
29 install-default-error-handler
35 : factory ( -- ) f start-factory stop ;