Re: FVWM: window resize in 2.5.7

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Tue, 5 Aug 2003 11:37:22 +0200

On Tue, Aug 05, 2003 at 06:45:23AM +0200, Olivier Chapuis wrote:
> On Mon, Aug 04, 2003 at 09:48:04AM +0200, Dominik Vogt wrote:
> > On Fri, Aug 01, 2003 at 02:15:06PM -0500, Bill Wilson wrote:
> > This is a very window manager specific problem. I guess almost
> > all window managers grab the pointer at some time. But it is hard
> > to say when this happens. The race condition between gkrellm and
> > fvwm is especially bad because it comes from hard wired
> > functionality, not random user interaction.
> >
>
> When fvwm receives a _NET_ACTIVATE_WINDOW it executes the complex
> function EWMHActivateWindowFunc which is defined as:
>
> AddToFunc EWMHActivateWindowFunc
> + I Iconify off
> + I Focus
> + I Raise
>
> we use a complex function for better user control. Now if we had
> implemented _NET_ACTIVATE_WINDOW by hardcoding the function, something
> like:
>
> if (IS_ICONFIDED(fw))
> {
> execute_function_override_window(
> NULL, NULL, "Iconify off", 0, fw);
> }
> execute_function_override_window(NULL, NULL, "Focus", 0, fw);
> execute_function_override_window(NULL, NULL, "Raise", 0, fw);
>
> then we never had this problem. I suggest various way to fix this
> problem ... I recall one: add a "grab fast and execute" dummy cmd for
> complex function:
>
> AddToFunc EWMHActivateWindowFunc
> + I GrabFastForce
> + I Iconify off
> + I Focus
> + I Raise
>
> if one of the immediate action of a complex function is GrabFastForce
> (we may found a better name) and if the function has only immediate
> action we try to grab the pointer only once (this is important) and we
> execute the function even if the grab fail.
>
> Again you do not need to have a recent GTK to reproduce the problem
> (I've not). You just need to have a FvwmEvent running which executes
> a complex function on raise_window (or configure_window). I explain
> too how this GrabFastForce cmd can fix some others natural pbs.

Really, we do not need to begin this discussion all over again.
This is the thread that started it, so it isn't even new in this
context.

Bye

Dominik ^_^ ^_^
--
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 Aug 05 2003 - 04:37:47 BST

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