I think it must be the menu which goes nuts for some reason while moving the window. Maybe your supposed to freeze the menu while moving the window or something

EDIT:
Nope, freezing the AES during the move still screws up.

If I vaguely remember, the physical/virtual workstation is for the sake of sharing the hardware. GEM/VDI owns the only "physical" work station, and programs request a "virtual" one to do as if they were alone.exxos wrote: Wed Dec 21, 2022 5:03 pm Looking through those old things called books. One mentions opening a virtual work station. But doesn't really say why.
https://freemint.github.io/tos.hyp/en/v ... l#v_opnvwk
I mean I thought when GEM opens a window, that was the work area.![]()
Yeah there was some odness like that in one of the books I was reading earlier. Something to do with making applications work on various machines.sporniket wrote: Wed Dec 21, 2022 8:59 pm If I vaguely remember, the physical/virtual workstation is for the sake of sharing the hardware. GEM/VDI owns the only "physical" work station, and programs request a "virtual" one to do as if they were alone.
Code: Select all
SUB OpenWS
DIM inv(19),outv(57)
STATIC i
SHARED our_aeshandle
FOR i=0 TO 9:inv(i)=1:NEXT i
inv(10)=2
v_opnvwk inv(),our_aeshandle,outv()
END SUB
Code: Select all
WINDOW GET MAINID,get_first,x1,y1,w1,h1
DO
IF w1=0 or h1=0 THEN EXIT LOOP
INTERSECTION x,y,w,h,x1,y1,w1,h1,x2,y2,w2,h2
base_redraw x2,y2,w2,h2 ' causes the white square to appear
WINDOW GET MAINID,get_next,x1,y1,w1,h1
LOOP
Code: Select all
SUB base_redraw(x2,y2,w2,h2)
SHARED our_aeshandle
SHARED curx,topx,cury,topy,maxy,types(2),strings$(1),topstr
STATIC i,j
IF w2>0 AND h2>0 THEN
vsf_color 0 ' fill with white
' set the clipping rectangle and clear it
vs_clip 1,x2,y2,x2+w2-1,y2+h2-1
vr_recfl x2,y2,x2+w2-1,y2+h2-1
END I