On Mon, Feb 24, 2003 at 11:08:24AM +0100, Gert Brinkmann wrote:
> 
> Thank you for answering. I already thought, that nobody will reply.
> 
> dominik.vogt_at_gmx.de wrote:
> 
> >Well, I once thought this was a good idea and wrote the code, but
> 
> great
> 
> >people hated it and I backed it out again.  It is still in the
> 
> Yes, i think changes in the look or feel always have to be configurable. 
> If people are used to one thing, it must not be changed without their 
> agreement.
I think we disliked it because it is confusing.  Even I could not
get used to it.
> >Change the "#if 0" to "#if 1".
> 
> Ok, if i have time i will try this.
> 
> >This warps the pointer to the nearest border if it is withoin 10%
> >of the window size from the outer inner of the border.  If you want
> >it even more aggressive, change the "/ 10" to "/ 3".
> 
> If i want it to grab the nearest corner in the whole window, do i have 
> to set it to "/ 2"?
No, anything below "/ 3" does not work.  The code divides the
window into a grid:
  +-----+----------+-----+
  |tl   |    top   |   tr|
  |     |          |     |
  +-----+----------+-----+
  |     |          |     |
  |left |          |right|
  |     |          |     |
  +-----+----------+-----+
  |     |          |     |
  |bl   |  bottom  |   br|
  +-----+----------+-----+
With "/ 2" the sectors near the edges are covered by the
corenerpieces:
  +----------++----------+
  |tl        ||        tr|
  |          ||          |
  |          ||          |
  +==========++==========+
  |          ||          |
  |          ||          |
  |bl        ||        br|
  +----------++----------+
The code may even generate a division by zero.  I guess what you
want is roughly this:
 tl      t     tr
  +---+----+---+
  |__  \  /  __|
 l|  \__\/__/  |r
  |__/  /\  \__|
  |    /  \    |
  +---+----+---+
 bl      b     br
Should not be too hard to write.
> >When you try it out, please let me hear about your experience with
> >that feature.  If it is useful after all, I can easily make it a
> >"Style" option.
> 
> Should it be a Style option or a parameter to the resize-function?
Probably a parameter.
Bye
Dominik ^_^  ^_^
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Feb 24 2003 - 04:38:53 GMT