> Subject: Strange position when correcting on windows.
> 
> Hi.
> 
> When move taskabr to top of the monitor, corrected position become strange.
> 
> 1. Move taskbar to top of the monitor.
> 2. Start gvim.exe
> 3. :set lines=300
> 
> It expected that gvim move up to the bottom of taskbar.
> 
>   http://go-gyazo.appspot.com/9fa9d351004e3e8a.png
> 
> But it has keep space.
> 
>   http://go-gyazo.appspot.com/6fc3575ca56bfbfb.png
> 
> get_work_area() return rect of working area with abstract position.
> But GetWindowPlacement()/SetWindowPlacement() treat the position as relative 
> which except taskbar.
> To checking both position, it should convert working area to relative. Below 
> is a patch.
> 
> https://gist.github.com/2412212
> 
> Please check and include.
> 

Hello,

The source of this bug is in revision 3248, which was aiming to fix an
issue on dual-monitor setups.  I noticed this issue a while back, and
produced a similar patch.  Unfortunately, my patch un-fixed what was
done in revision 3248 regarding multiple monitors.  Can you test your
patch on a multi-monitor setup and make sure that it is compatible with
what was done in 3248?  I'm away from my dual monitor setup today...

-WES

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui