From: Alex Riesen Date: Fri, 07 Nov 2008 14:39:12 GMT Subject: Re: [PATCH (GITK) v3 6/6] gitk: Explicitly position popup windows. Message-ID: <81b0412b0811070639q47244bc4t10791781fb0ec43b@mail.gmail.com> In-Reply-To: <18708.11537.229423.296701@cargo.ozlabs.ibm.com> 2008/11/7 Paul Mackerras : > 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. > Yes, please. I rather like the smart placement in compiz.