[openbox] Patch to fix Epist's buggy 2D workspace

Roman Neuhauser neuhauser at bellavista.cz
Wed Oct 30 07:59:56 EST 2002


# smoynes at nexus.carleton.ca / 2002-10-30 07:58:44 -0500:
> * Ava Arachne Jarvis (ajar at katanalynx.dyndns.org) wrote:
> > The patch is attached.  This fixes three bugs:
> > 
> >   - nextWorkspaceRow went up instead of down, and prevWorkspaceRow went
> >     down instead of up. (simple change to parser.cc)
> > 
> >   - changeWorkspaceHorz had some issues with the "left-wards" case, 
> >     caused by calling changeWorkspace once in a special case, then 
> >     once more at the end of the function.  Oops.  (action.cc)
> > 
> >   - changeWorkspaceVert is conceptually a call to cycleWorkspace with 
> >     appropriate parameters.  cycleWorkspace seemed to take care of 
> >     wrapping as well, so I just changed changeWorkspaceVert to call 
> >     cycleWorkspace....  
> > 
> > Patched against the latest CVS.
> 
> The behaviour you are looking for is possible using the numeric
> argument to the cycleWorkspace action. The behaviour that currently
> exists is to have some sane cycling when using a non-square workspace
> grid. ie, when on workspace 3 of a grid with 5 workspaces and 3 in the
> first row going to the next row would put you on workspace 5.

    umm, who in their right mind would have workspaces laid out like
    that? what does one achieve by punching holes into the ws grid?

-- 
If you cc me or take the list(s) out completely I'll most likely ignore
your message.      see http://www.eyrie.org./~eagle/faqs/questions.html



More information about the openbox mailing list