Re: Patch for mac-specific bug in :winpos

2007-08-19 Fir de Conversatie Jjgod Jiang
Hi, 2007/8/19, Bram Moolenaar <[EMAIL PROTECTED]>: > So is Michael's solution preferred? Simpler doesn't always mean better. Yes, I prefer his solution. - Jiang --~--~-~--~~~---~--~~ You received this message from the "vim_dev" maillist. For more information, v

Re: Patch for mac-specific bug in :winpos

2007-08-19 Fir de Conversatie Bram Moolenaar
Jjgod Jiang wrote: > 2007/8/19, Bram Moolenaar <[EMAIL PROTECTED]>: > > I have not seen your patch for this from you. Can you send it again? > > Sure. It's now sent to [EMAIL PROTECTED] again. Please note > I used an approach slightly different than Michael's: get the > title bar height, save

Re: Patch for mac-specific bug in :winpos

2007-08-19 Fir de Conversatie Jjgod Jiang
Hi, 2007/8/19, Bram Moolenaar <[EMAIL PROTECTED]>: > I have not seen your patch for this from you. Can you send it again? Sure. It's now sent to [EMAIL PROTECTED] again. Please note I used an approach slightly different than Michael's: get the title bar height, save it as a global variable, add

Re: Patch for mac-specific bug in :winpos

2007-08-19 Fir de Conversatie Bram Moolenaar
Jjgod Jiang wrote: > 2007/8/19, Michael Henry <[EMAIL PROTECTED]>: > > > > All, > > > > The mac port of gvim has a bug in the implementation of :winpos. > > > > Version: 7.1.82 (mac only) > > I can confirm this, I've sent a (different) patch to [EMAIL PROTECTED] > before it was down last time.

Re: Patch for mac-specific bug in :winpos

2007-08-18 Fir de Conversatie Jjgod Jiang
Hi, 2007/8/19, Michael Henry <[EMAIL PROTECTED]>: > > All, > > The mac port of gvim has a bug in the implementation of :winpos. > > Version: 7.1.82 (mac only) I can confirm this, I've sent a (different) patch to [EMAIL PROTECTED] before it was down last time. It seems Bram didn't notice that. Ho

Patch for mac-specific bug in :winpos

2007-08-18 Fir de Conversatie Michael Henry
All, The mac port of gvim has a bug in the implementation of :winpos. Version: 7.1.82 (mac only) Symptom: The following command, which should do nothing, causes gvim's window to move up the screen on the mac: exe "winpos " . getwinposx() . " " . getwinpoxy() On Linux and Windows, the ab