The behaviour is shown when I use FVWM.
I have tried xfce4, fluxbox and others. They all show the FLTK main window fixed.
From the FVWM list I have learned that this can not be changed in the fvwm2rc
config file. Look here:
----------------------------------------------------------------------
case GravityNotify:
int mask = CWBorderPixel|CWColormap|CWEventMask|CWBitGravity;
attr.bit_gravity = 0; // StaticGravity; 1:NorthWestGravity
hints->win_gravity = StaticGravity; // NorthWestGravity
hints->flags = PMinSize|PWinGravity;
hints->flags = PMinSize|PMaxSize|PWinGravity;
hints->flags = PMinSize|PMaxSize|PWinGravity;
fltk-1.3.x-r10217/src/Fl_x.cxx
----------------------------------------------------------------------
The values I need are 1 for bit_gravity and NorthWestGravity for win_gravity.
With NorthWestGravity the FLTK main window stays fixed.
I just now do not understand why xfce4, fluxbox and others can change the
gravity value of the FLTK main window.
winfried
[imm]
Hi winfied,
I confess I am not sure what it is you are asking, really: It looks very much as if the behaviour is a “feature” of fvmw2 – possibly even a bug – since it does not manifest in any other WM that we are aware of.
That being the case, I’m not sure what we can do about that in fltk. I’m reluctant for us to change something in fltk to make it work with fvmw2, at the risk of breaking it for everybody else. I don’t imagine here are that many folks still using fvwm2 to be honest (I know I stopped using it many years ago!)
Is there some specific feature that you believe that fltk is getting wrong?
Selex ES Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL
A company registered in England & Wales. Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************