Hello All.

I've recently installed OpenOffice.org 2 and encountered the following
problem: The new context-sensitive floating toolbars that appear when
needed all have the "Title" and "Sticky" attributes. E.g. the Numbered
List ToolBar that shows only when you're making a list is shown that
way.

To cure this, I tried (clumsily) writing a function that is triggered
whenever a new window is created:

AddToFunc NewWindowFunc #triggered by FvwmEvent later
+ I ThisWindow (Sticky, Soffice.bin) MakeOOoBehaveRightFunc

AddToFunc MakeOOoBehaveRightFunc
+ I ThisWindow Style NoTitle, Slippery

...This did make the titlebars go away, but the floating toolbars are
still sticky across pages and desks, no matter what. I tried opening
FvwmConsole and issuing "Style * Slippery" (which indeed made my
taskbars and app launchers slippery), but it did NOT help.

I tried xprop on the pesky toolbars, it showed an interesting hint,
smth like _WM_WINDOW_TYPE TOOLBAR, if I recall correctly. FvwmIdentify
shows it like "Ewmh Window Type: ToolBar"

So there are two questions:

1. can I somehow make the floating toolbars slippery in OOo2?
2. (loosely related) can I apply a style to a window on condition
that the output of xprop on the window equals something I define?

What I want is smth like: IF `xprop | grep
window_type | cut ...` equals TOOLBAR, THEN Style whatever...

If anyone came with a FVWM function example, that would be great.

Thanks in advance for any pointers.

PS: If it matters, I'm using a Debian Sarge machine, an
alien-converted OOo2 (GNOME UI set via a variable), and FVWM 2.5.12
that came packaged with Sarge.

-- 
WBR,
Andrei Popov

Using FVWM 2.5.12


Reply via email to