+ allot refactoring:
- sometimes fep when closing window
-- x86: load-allot-ptr doesn't have a stack effect? why?
- mov 0x0(%esi),%ecx why?
- %allot-bignum-signed-2 is broken on both platforms
"positive" get JGE
allot-tmp-reg 2 cells [+] 1 MOV
over NOT
- dup -1 IMUL
+ dup -1 IMUL2
"end" get JMP
"positive" resolve-label
allot-tmp-reg 2 cells [+] 0 MOV
: selection-property ( -- n )
"org.factorcode.Factor.SELECTION" x-atom ;
-: convert-selection ( win selection -- n )
+: convert-selection ( win selection -- )
swap >r >r dpy get r> XA_STRING selection-property r>
CurrentTime XConvertSelection drop ;
: flush-dpy ( -- ) dpy get XFlush drop ;
-: sync-dpy ( discard -- ) >r dpy get r> XSync ;
-
: x-atom ( string -- atom ) dpy get swap 0 XInternAtom ;
: check-display