Re: [dev] Re: [PATCH] wmii - client mapping events

From: Kris Maglione <maglione.k_AT_gmail.com>
Date: Thu, 21 Apr 2011 09:08:03 -0400

On Sun, Apr 03, 2011 at 12:15:08PM -0700, Suraj Kurapati wrote:
>On Sun, Apr 3, 2011 at 7:38 AM, Kris Maglione <maglione.k_AT_gmail.com> wrote:
>> I like this idea, but I don't like that it only applies to the selected
>> view. I'll add an attach event that includes the client and the view.
>
>Sure, emitting an event like that should be sufficient for my needs:
>
> event("ArrangeView %s %#C\n", f->view->name, f->client);
>
>I need this to know when to reapply an automated arrangement (like
>LarsWM style tiling) whenever the managed layer changes in the current
>view in my wmiirc, for example:
>
> event "ArrangeView" do |tag, client_id|
> apply_larswm_arrangement if tag == curr_tag
> end
>
>> I'm not sure I see the point of the map and unmap events.
>
>The map/unmap events are not necessary; they are vestiges from my
>first try of the patch.
>
>Thanks for your consideration.

Changeset 2786:f93fd217b7fb

-- 
Kris Maglione
Do not fear to be eccentric in opinion, for every opinion now accepted
was once eccentric.
	--Bertrand Russell
Received on Thu Apr 21 2011 - 15:08:03 CEST

This archive was generated by hypermail 2.2.0 : Thu Apr 21 2011 - 15:12:02 CEST