On 06/02/07, Nikolas Arend <[EMAIL PROTECTED]> wrote: > Hi, > > I'm still struggling a bit with the way e17 maximizes windows. I should say > that the current policies (e.g. "smart") make perfect sense the way they > work, what I'm missing is a possibility to define a "definitive" maximization > that always produces the same result for any window wherever it may have been > located on the screen before maximizing it. So what I have in mind is s.th. > like a "fullscreen" policy with a "never cover specific parts of the screen" > feature. > > An example: > In my case I have a bottom and a top shelf. The bottom shelf is set to not be > overlapped, the top one can. So what I'd like to do is define "maximize" to > always extend the window in both directions to occupy the maximum possible > space, but not cover the "no-overlap" shelves (in my case the bottom shelf), > even though the window was being placed over the bottom shelf before > maximizing it (which can happen). > > Hm, hope that makes sense to you.
So specifically your problem is that the window is getting maximized over the shelf at the bottom, just because it happens to sit over the top of the shelf already when you do the maximize, right? As far as I remember, the way the maximization algorithm works now is the window border says "how much further out can I be maximised, in relation to how big I am now?". It is just trying to make the border bigger than it currently is, without considering whether it should be smaller due to the shelves beneath it. I guess there may be at least a couple of options to consider: 1) change the maximization algorithm to shrink a window in such a case 2) have another action concept to "fit" the window within the bounds of any shelves which should always be on top. 3) make the maximization algorithm configurable so you can make it do whichever way you prefer. just some thoughts! David ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel