On 14 Sep 1998, Carl R. Witty wrote:
> Neil Zanella <nzanella_at_morgan.ucs.mun.ca> writes:
>
> > On 14 Sep 1998, Carl R. Witty wrote:
> >
> > > I'm pretty sure I've used a window manager (I don't remember which
> > > one) which would divide the window into 9 equal rectangles:
> > >
> > > 1 2 3
> > > 4 5 6
> > > 7 8 9
> > >
> > > If you started a resize while the mouse was in region 1, 3, 7, or 9,
> > > it would resize that corner. If you started a resize while the mouse
> > > was in region 2, 4, 6, or 8, it would resize that size. I don't
> > > remember what would happen if you started a resize from region 5.
> >
> > Now I see where you're coming from.
> > Here is an alternative to the problem. Divide a window like this:
> [ ... into 8 octants. ]
>
> One advantage of the scheme I described is that once you've started
> the resize, the window manager puts up the move/resize rubber-bands.
> In fvwm (and in the window manager I'm remembering), these divided the
> window into 9 rectangles; this would give you feedback as to whether
> you selected the region you thought you selected.
>
> Also, in terms of predictability, I think it may be easier for people
> to figure out where the regions are with my scheme.
That's true. With my scheme things get tough when you move the pointer
toward the ceneter. I was just inspired by pthe "Pie WM" for a moment.
Would it be possible if when you clicked on 5 then for the whole window
to shrink to a dot? Then you can pull it out in whatever direction you
wish.
Alternatively (and perhaps this is a bit more complex), take the GNU
approach: recursion. The middle window is divided into 9 just like
the big window. If when you do that your pointer is still in the center
then apply this idea recursively. Unless the pointer was in the very
center of the window then this recursion must end. If the pointer just
happens to be right in the middle then shrink everything to a dot like in
what I suggest above.
Best wishes,
Neil
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Tue Sep 15 1998 - 11:44:13 BST