Re: FVWM: Saving Windows: save stacking order?

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Sun, 11 Jul 2004 17:01:16 +0000

On 11 Jul 2004 20:08:06 +1000, Scott Smedley wrote:
>
> > Currently M_RESTACK is the only event with periodical format, and it is
> > not fully supported by perllib yet. So, you can't get the stacking info
> > yet. But there is nothing inherently difficult to implement such
> > periodical format parsing, I just didn't have a need for this event yet.
>
> I'm not sure what you mean by "periodical format". Can you please elaborate?
>
> I notice there are only 3 fields in an M_RESTACK event:
>
> win_id
> ptr, &
> frame_id
>
> I can't find a logical connection b/w those fields & a way to calculate
> the stacking order.

These 3 arguments are repeated for all windows participated in restack.
So there are actually 3*number_of_windows arguments in M_RESTACK event.

You are right, the meaning of the windows is not documented well, just
briefly, in http://fvwm.org/documentation/dev_modules.php#M_RESTACK .
You should figure out yourself how to use this to get the stacking order.

I will either implement the generic support for events with periodical
arguments (more likely), or provide the special M_RESTACK interface.

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 Sun Jul 11 2004 - 12:03:54 BST

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