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.

-- 
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