ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] expose.pl with new frame dump format


From: Kevin Geiss
Subject: Re: [RP] expose.pl with new frame dump format
Date: Fri, 8 Jul 2005 23:58:30 -0700
User-agent: Mutt/1.5.8i

Nazri, totally cool hack. I routinely have a bunch of funky frames going
on, so your patch is essential to me.

only problem I ran into was that I have windows whose info look like this:

(1152,788) 2(Mozilla Firefox)
(1152,788) 1(expose.pl (~/scripts) - GVIM)

the way the window selection is done after the frame restore doesn't
work for me.

you had this:

$current_window =~ s/(.* |\(.*)//g; 

I changed it to this more precise but probably a tad slower regex:

$current_window =~ s/^\s*\(\d+,\d+\)\s+(\d+)\(.*$/$1/;

that way any extra parens in the window title won't affect it.

Thanks Ivan and Nazri for the updated expose!

On Thu, Jul 07, 2005 at 01:04:00AM +0800, Nazri Ramliy wrote:
> On 7/6/05, Ivan Beschastnikh <address@hidden> wrote:
> > Updated expose.pl (from wiki) to work with new fdump format.
> > works great with my 1.4.0-beta4
> 
> Sweet.
> 
> This patch makes it restore the orignal frame configuration.
> 
> Nazri.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]