Re: Moving windows to other workspaces is challenging in ctwm

Steve Litt <[email protected]>
Newsgroups gmane.comp.window-managers.ctwm
Organization Troubleshooters.Com
Message-ID <[email protected]>
On Fri, 29 Sep 2017 04:00:50 -0500
"Matthew D. Fuller" <[email protected]> wrote:

> On Mon, Sep 25, 2017 at 11:09:01PM +0200 I heard the voice of
> Rhialto, and lo! it spake thus:

> > On Mon 25 Sep 2017 at 01:14:35 -0400, Steve Litt wrote:  
> > > By the way, is there a way to pass an argument to a user defined
> > > function, or do I have to make a function for each workspace?  
> > 
> > I don't think so, and I have wished for something like that as
> > well.  
> 
> That would take deeper changes, not the least since it means
> f.function would now become our first function that requires *two*
> arguments.

This isn't a big priority for me, so if this suggestion is anything but
trivial, please ignore it.

You could have the function take one argument, but the argument is a
struct pointer to a string plus a void pointer. It would work in less
type-fussy languages, and who knows, maybe there's some trick with the
current code to fit this in.

Unless this is trivial, please forget I mentioned it. I'm sure ctwm
has much more important priorities.

Thanks, 

SteveT

Steve Litt
September 2017 featured book: Manager's Guide to Technical
Troubleshooting Brand new, second edition
http://www.troubleshooters.com/mgr
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.