Re: pgAdmin III commit: Fix the restore of a window position when using mul

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: pgAdmin III commit: Fix the restore of a window position when using mul
Date: 2012-03-10 18:10:32
Message-ID: 1331403032.2339.17.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Sat, 2012-03-10 at 18:08 +0000, Guillaume Lelarge wrote:
> Fix the restore of a window position when using multiscreen
>
> The previous code used to get the geometry of the good display and check
> position and size of the dialog against the geometry of the display.
> Unfortunately, the position and size of the dialog take into account the
> global geometry. So we need to compare it with the global geometry, which this
> patch does.
>
> Per report from Steffen Decker.
>

If someone can test this with Mac OS X and Windows, I would be quite
happy. I don't have (yet?) a multiscreen PC with those OS.

--
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Guillaume Lelarge 2012-03-10 22:17:58 pgAdmin III commit: Another bunch of wxWidgets 2.9 related issues
Previous Message Guillaume Lelarge 2012-03-10 18:08:07 pgAdmin III commit: Fix the restore of a window position when using mul