Yuri Gotra wrote: > > Hello, > > I'm using ROOT on X terminal running fvwm-95 window manager and each time I > create a canvas it's position changes randomly on the screen with the same > wtopx and wtopy in > TCanvas(Text_t* name, Text_t* title, Int_t wtopx, Int_t wtopy, Int_t ww, Int_t > wh). > Position of canvas window is correct only when I use NCD window manager. > Does anybody know how to fix position of canvas under fvwm? > > Any help is appreciated. > > I'm using SGI CC compiler version 1.01/07 on IRIX6.2 system. > This seems to be a problem specific to fvwm-95. In TMotifCanvas, we correctly invoke the X11 XtVaSetValues procedure: //______________________________________________________________________________ TMotifCanvas::TMotifCanvas(TCanvas *c, const char *name, Int_t x, Int_t y, UInt_t width, UInt_t height) : TCanvasImp(c), TMenuWindow(name) { CreateWindow(); XtVaSetValues(XtParent(MainWindowWidget()), XmNx, x, XmNy, y, XmNwidth, width, XmNheight, height, NULL); } fvwm-95 experts, please help. Rene Brun
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:20 MET