On Tue, Mar 16, 2004 at 09:18:59AM -0800, Ami Fischman wrote:
> But for that to be useful, I need to be able to find the id of the
> _current_ screen before I start switching, don't I?  I.e., I'm willing to
> hardcode the number of screens (2), so if I'm on screen 0 I should go to
> screen 1, and vice-versa, but how do I know which one I'm on?

Your function gets some region as parameter if it is bound to a key so
use some_region:screen_of():id().

-- 
Tuomo

Reply via email to