pgAdmin III commit: Fix the restore of a window position when using mul - Mailing list pgadmin-hackers

From Guillaume Lelarge
Subject pgAdmin III commit: Fix the restore of a window position when using mul
Date
Msg-id E1S6Qi7-00014I-BV@gothos.postgresql.org
Whole thread Raw
List 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
------
master

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

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


pgadmin-hackers by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: pgAdmin III commit: Another wxWidgets 2.9 assert
Next
From: Guillaume Lelarge
Date:
Subject: pgAdmin III commit: Fix the restore of a window position when using mul