Re: FVWM: ChangeDecor doesn't complete without manual intervention

From: Keith Harbaugh <harbaugh_at_math.georgetown.edu>
Date: Wed, 13 Oct 1999 03:57:49 +0000

On Mon, 1999-10-11 at 00:16:24 +0200, Dominik Vogt wrote:
> On Sat, Oct 09, 1999 at 05:42:28PM +0000, harbaugh_at_math.georgetown.edu wrote:
> > The situation described roughly in the Subject line happens in several
> > situations, most simply in the following situation:
> >
> > I bring up an FvwmConsole using a menu.
> > In the console, I type
> > ChangeDecor decor-root
> > where decor-root is a decor that has already been defined
> > via an AddToDecor command in my .fvwmrc file.
> > The mouse pointer changes to a large dot,
> > requesting a window selection for this action,
> > so I click in that window (no problem there).
> > But then the expected action, changing the HilightColor,
> > only happens to a very thin outermost border of the window,
> > the bulk of the window frame stays in its original color.
> > However, if I move the mouse pointer into another active window,
> > then back to the window whose decor had been requested to be changed,
> > (this is what I meant by "manual intervention")
> > then the entire window frame switches to the requested color.
> >
> > What do I have to do programatically to make the ChangeDecor take full effect,
> > without having to move the mouse around?
>
> You can call a fvwm function that issues a 'RefreshWindow' after the ChangeDecor:
>
> AddToFunc ChangeDecorAndRefresh
> + "I" ChangeDecor decor-root
> + "I" RefreshWindow
>
> This bug is fixed in the current development sources already.

Gee fellas, I tried this first in my own naïve way,
starting an FvwmConsole, typing in it the 'ChangeDecor decor-root' command,
then typing 'RefreshWindow'.
That produced the familiar big dot, so I clicked in the Console window.
And that produced no change at all:
still only the very thin outermost border had changed color.

So then I defined a new function using your recipe above in my .fvwmrc file,
restarted fvwm2, and executed that function in an FvwmConsole,
and got the same result: only the outermost pixels change color,
until I move the mouse out of, then back to, the console.

What's the German equivalent for the American phrase
"back to the drawing boards"? :-)

--
Keith
--
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 Tue Oct 12 1999 - 23:00:50 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:02 BST