Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Strange position when correcting on windows.
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
mattn  
View profile  
 More options Apr 18 2012, 5:31 am
From: mattn <mattn...@gmail.com>
Date: Wed, 18 Apr 2012 02:31:08 -0700 (PDT)
Local: Wed, Apr 18 2012 5:31 am
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.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.