ratpoison-devel
[Top][All Lists]
Advanced

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

Re: [RP] select patch


From: Jeff Abrahamson
Subject: Re: [RP] select patch
Date: Wed, 18 Jun 2014 19:51:50 +0100

Thanks for the contribution.  Your C isn't so bad.

I have three small quibbles:
Out of curiosity, why do you find it convenient to name multiple things with the same name?

Regards,


Jeff Abrahamson
+33 6 24 40 01 57   <-- brièvement indisponible le 4 juillet
+44 7920 594 255    <-- will change 18 July

http://jeff.purple.com/
http://blog.purple.com/jeff/



On 17 June 2014 17:41, Johannes Altmanninger <address@hidden> wrote:
The default "select" command (disregarding window numbers) selects the first exact match,
if there is none, the argument is matched against the beginning of each window name,
again selecting the first match.
I have shortcuts to select my each of my windows by their name, but sometimes i have more
than one window with the same name. I wrote a script to alternate between them but I think
it is more appropriate as a native feature.
The attached patch adds a function to find a window by name, if there is more than one returns
the match after the currently selected. The select command is changed to use this function.

I am pretty new to C, so please let me know if I am doing something horribly wrong.

Johannes Altmanninger

_______________________________________________
Ratpoison-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/ratpoison-devel



reply via email to

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