> > A behaviour like that would make sense, but I picture it as hard to
> > implement. I've been thinking about it for a while now and
> > I'm not sure I can see how it could be done. Not even on paper, in a
> > reasonably straight-forward and easy way.
> 
> Download the source for sawfish, and check out
> sawfish-1.0.1/lisp/wm/util/edges.jl to see how they do it.  It doesn't look
> too bad.

I've looked now and it looks pretty "much", at first sight. I don't read
lisp very well, so it will take some time to chew it down. Will take
another look later on.

The biggest problem right now, however, is the availability of the
window stack. As it seems (to me) the z-order of the windows' can't be
seen outside of the workspace code. I think that is essential knowledge
in order to find out which borders are seen or not so I thought I'd dig
into that first.

While on the topic of the workspace code I'd like to ask Shaleh, or
whoever that might have a clue, why there's two linked lists of windows?
I was thinking maybe Workspace::getWindow(int) could be changed to
return windows from the stacklistning instead, but I suppose I might be
overseeing something.

Mattias

Reply via email to