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? I had to run this command ~40 times before I got that. They say, it can be reproduced without setting 'guifont' (BTW, value doesn't matter), but I can't catch it. -- Regards, Sir Raorn.
signature.asc
Description: Digital signature