On 9/16/06, Alexey I. Froloff <[EMAIL PROTECTED]> wrote:
gui_gtk.c:
3131 if ((pos_x + c_size.width) > (wP + xP))
3132 pos_x = xP + wP - c_size.width - 2;
3133 /* Assume 'guiheadroom' indicates the title bar height... */
3134 if ((pos_y + c_size.height + p_ghr / 2) > (hP + yP))
3135
3136 gtk_widget_set_uposition(child, pos_x, pos_y);
3137 }
gtk_widget_set_uposition() is called only if condition in line
3134 is true.
P.S. Can anyone confirm, that running
gvim-gtk2 -u NONE -U NONE --cmd 'set lines=9999' --cmd 'set guifont=Bolkhov\
VGA\ 10'
_SOMETIMES_ does not resize gvim window?
On both of my Linux computers, at home, and at work,
gvim --cmd 'set lines=9999'
*never* resizes the window.
Does this count as "reproduction" :-) ?
I think this is by design, as Tony explained.
On the other hand,
gvim -u NONE -U NONE -c 'set lines=9999'
always resizes. Note the difference: --cmd vs -c.
I think Tony is right, this is by design due to difference between
'--cmd' and '-c'.
Yakov