On 24/10/2007, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I switched from Gnome to FVWM.  I've noticed that now some dialogs
> show without a title bar.
> Is this a X11 feature implemented in FVWM and not in Gnome? A possible
> bug in FVWM - which one is correct?  Anybody know what attribute
> (property) in Lazarus TForm controls the visibility of the titlebar?


OK, I finally found the answer to this question.  I narrowed it down
to *modal forms* not have a titlebar or borders on them, so you
couldn't move or resize them. This only occurred under FVWM2 and was
very annoying.

Anyway, the issue is when a modal form (under X11) is set via the
transient window hint.  To correct this annoying behaviour under FVWM2
you have to tell the window manager to also decorate transient
windows.

In my setup, I had to edit the ~/.fvwm/globalfeel file and uncomment the line:
   Style * DecorateTransient


Restart the window manager and modal forms now look normal!!!  ;-)
I thought I would share this tip for anybody else experiencing this
issue under FVWM window manager.  Should we maybe place this on a wiki
page somewhere?


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to