Re: FVWM: Icon with window title

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Thu, 2 Jan 2003 03:53:53 +0000

On 01 Jan 2003 16:57:51 -0800, hugo vanwoerkom wrote:
>
> --- Mikhael Goikhman <migo_at_homemail.com> wrote:
> > If I understand you correctly you want to show a
> > mini icon in a titlebar:
> >
> > ButtonStyle 1 MiniIcon
>
> I am still doing something wrong. I do this and
> nothing shows up in the button.
>
> > By default, if the program itself supplies a mini
> > icon (using EWMH) it is
> > shown in the MiniIcon button in 2.5.x. But pre-EWMH
> > applications do not
> > set a mini icon hint.
>
> This is a Qt application I wrote. It runs on Qt
> versions 1, 2 or the latest, 3. It also runs on M$
> windows on Qt 2.3.0, where the icon shows up. Actually
> I got here through windows. It showed an annoying text
> icon: [Freeware]. That annoyed me so I did a
> QWidget::setIcon(QPixmap). I got to believe the latest
> version of Qt is EWMH compliant, the latest nightly of
> Mozilla certainly should be.

Your config has dozens of small problems, but this is not related.

Create this minimal config (either replace your .fvwm2rc or create
~/.fvwm/minimal-rc and do "Restart fvwm -f minimal-rc"):

  ButtonStyle 1 MiniIcon
  Mouse 0 1 A WindowShade
  Style * DecorateTransient # KDE apps are buggy, kcalc is transient...
  Exec kcalc

Do you see the calculator icon that kcalc provides? I do see it.
If yes, run your application, if you don't see an icon, there is a problem
in your application.

Regards,
Mikhael.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Jan 01 2003 - 21:55:09 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST