Skip site navigation (1) Skip section navigation (2)

pgAdmin III commit: Fix the restore of a window position when usingmul

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin III commit: Fix the restore of a window position when usingmul
Date: 2012-03-10 18:08:07
Message-ID: E1S6Qi7-00014K-CQ@gothos.postgresql.org (view raw or flat)
Thread:
Lists: pgadmin-hackers
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.

Branch
------
REL-1_14_0_PATCHES

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=57a71b21e72f66186c7a9d7301cf15db6d7e0b65

Modified Files
--------------
CHANGELOG              |    2 ++
pgadmin/utils/misc.cpp |   16 +++-------------
2 files changed, 5 insertions(+), 13 deletions(-)

Responses

pgadmin-hackers by date

Next:From: Guillaume LelargeDate: 2012-03-10 18:10:32
Subject: Re: pgAdmin III commit: Fix the restore of a window position when using mul
Previous:From: Guillaume LelargeDate: 2012-03-10 13:35:07
Subject: Re: pgAdmin III commit: Another wxWidgets 2.9 assert

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group