Bugs in Graphics.HGL.Window and its documentation

Glynn Clements glynn at gclements.plus.com
Mon Dec 12 19:39:40 EST 2005


Duncan Coutts wrote:

> > The function openWindowEx seems to ignore its second argument  
> > (optional initial position of window).  Here is the test program to  
> > illustrate this, which I ran on Mac OS X (Tiger), using hugs:
> 
> Placing a window in a particular initial position on X11 (which is what
> HGL on OSX uses) can only ever be best effort. The window manager is
> free to ignore any initial placement hint that a window asks for. Some
> window managers respect it others do not. There's nothing you can do
> (except change or patch your window manager)

However, in the case of HGL, it could request that the window manager
place the window at a specific location using XSetWMNormalHints(). It
doesn't do this at present.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the Libraries mailing list