On Wed, 6 Jul 2005 14:36:08 -0500 Marc McGarry <[EMAIL PROTECTED]> babbled:
> All, > > Raster suggested that I use the E_Action system to change desks > instead of my current method of 5 parameters which I thought was > clunky. > > So I've added a generic IPC call to execute a named action, as well as > a new action which flips to a desk given the manager, container, zone, > row and column. > This IPC call executes E-Action.func.go exclusively, so it cannot be > used for mouse and keyboard actions I believe. > > The number of parameters is variable, but is interpreted as follows: > > 5 params: manager container zone row column > 4 params: container zone row column > 3 params: zone row column > 2 params: row column > 1 param: column > > I imagine this works correctly for parameters higher than 2, but I > don't have multihead or xinerama to test it here at work... > > I also don't know what would cause there to be more than one manager > in the managers_list (multiple X servers running Enlightenment?), so I > don't know how to tell if 5 params even works : ) > > Please let me know what you think, > Marc um um... not to blow your bubble... but... have you looked at zone_desk_flip_by, zone_desk_flip_to, zone_desk_linear_flip_by, zone_desk_linear_flip_to. these do just the same - but are a fair bit simpler :) all you need is the bit where via ipc you can spawn an action - you only need 2 strings passed to e for that :) > -- > http://www.diadems.com/ > 1 3 5 > 2 4 6 R -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [EMAIL PROTECTED] 裸好多 [EMAIL PROTECTED] Tokyo, Japan (東京 日本) ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel