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

From: Suraj Kurapati <sunaku_AT_gmail.com>
Date: Sun, 3 Apr 2011 12:15:08 -0700

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.
Received on Sun Apr 03 2011 - 21:15:08 CEST

This archive was generated by hypermail 2.2.0 : Sun Apr 03 2011 - 21:24:02 CEST