Re: [PATCH (GITK) v3 6/6] gitk: Explicitly position popup windows.
- From
Alexander Gavrilov <angavrilov@gmail.com>
- Date
- Nov 11, 2008, 11:00 UTC
- Message-ID
- <bb6f213e0811110300maedee6bife5592afb27b48b7@mail.gmail.com>
- In-Reply-To
- <18708.11537.229423.296701@cargo.ozlabs.ibm.com>
On Fri, Nov 7, 2008 at 2:57 PM, Paul Mackerras <paulus@samba.org> wrote:
Show 10 quoted lines
> Alexander Gavrilov writes: > >> For some reason, on Windows all transient windows are placed >> in the upper left corner of the screen. Thus, it is necessary >> to explicitly position the windows relative to their parent. >> For simplicity this patch uses the function that is used >> internally by Tk dialogs. > > Is there any reason to call tk::PlaceWindow under Linux or MacOS? > If not I'd rather add an if statement so we only call it on Windows.
I checked it on MacOS, and there the consequences of wm transient are even worse that on Windows, so scrap this patch -- I'll redo it to fix both cases.
Alexander