re xwindows always opaque in article hess swt hess swt informatik uni hamburg de hauke hess writes hi i wonder if it is possible for a parent window to paint over the area of its childs if it is not then how could it be possible to implement a rubberband across multiple xwindows to select the objects that are displayed one in each window hauke if you specify the rootwindow when you are creating your gc you may use xlib to draw over multiple windows i have an application that does something similar for rubber banding curs move xcreatefontcursor disp data xc crosshair geom vals foreground blck pixl grey dark geom vals plane mask allplanes geom vals line width geom vals function gxxor geom vals subwindow mode includeinferiors evnt mask gcforeground gcplanemask gclinewidth gcfunction gcsubwindowmode geom gcon xcreategc disp data root iden evnt mask geom vals later i can move the rubber band or bands using the following logic void tselect move bands int delt xloc int delt yloc stuff deleted xdrawrectangle disp data root iden geom gcon sele pntr rootx sele pntr rooty sele pntr xlnth sele pntr ylnth undraw old one sele pntr papax delt xloc sele pntr papay delt yloc sele pntr rootx delt xloc sele pntr rooty delt yloc xdrawrectangle disp data root iden geom gcon sele pntr rootx sele pntr rooty sele pntr xlnth sele pntr ylnth draw new one more stuff deleted hope this helps brian dealy it not knowing where it s at dealy kong gsfc nasa gov that s important it s knowing uunet dftsrv kong dealy where it s not at b dylan brian dealy it not knowing where it s at dealy kong gsfc nasa gov that s important it s knowing uunet dftsrv kong dealy where it s not at b dylan
