Re: Canvas position using fvwm.

From: Robert Casties (casties@desy.de)
Date: Mon Jul 07 1997 - 10:30:04 MEST


Hello Yuri!

On Fri, 4 Jul 1997, Yuri Gotra wrote:

>   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?

Fvwm normally uses an option to suppress inital position information:
[in my .fvwm2rc]
  Style   "*"     NoPPosition

[from the fvwm2 manpage]

              NoPPosition  instructs fvwm to ignore the PPosition
              field when adding new windows.   Adherence  to  the
              PPosition  field is required for some applications,
              but if you don't have  one  of  those  its  a  real
              headache.

Since you don't have the problem unsing another wm, this should be the
solution. (I haven't checked it though.)


Cheers
	Robert



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:20 MET