
13 Dec
2005
13 Dec
'05
12:39 a.m.
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