Mouse position: Difference between revisions

m
Line 1,306:
val w = XCreateSimpleWindow (RootWindow dp) origin (Area {x=0,y=0,w=400,h=300}) 3 0 0xffffff ;
XMapWindow w;
val (focus,_)=( Posix.Process.sleep (Time.fromReal 2.0); (* time to move from interpreter and+ activate arbitrary window *)
XGetInputFocus dp
) ;
Anonymous user