CLIM mail archive

[Prev][Next][Index][Thread]

Problems with getting windows to come up correctly on the Sun



I am attempting to bring up a window-based graphical editor on the Sun. 

The application, originally written for use under Genera, comes up correctly on the Symbolics.  The application is composed of 6 independent windows placed at absolute locations relative to the root window.  On the Symbolics, the windows appear as a single, coherent application with multiple panes: title, 2 menus, a Lisp listener, and several graphical displays.  On the Sun, the windows are of correct dimensions, but they are not placed correctly and there is no simple transformation that describes the difference between the displays.

I suspect the OpenWindows is overriding the specified values for right, left, top, and bottom.  This is supported by the fact that if i create a window within the Allegro interpreter, it also is offset.  All windows, whether defined within the applicaiton or manually, appear to always come up in the same (wrong) place each time they are created and exposed.

The windows are created by opening a root window using (clim:open-root-window :clx :host ":0") then creating the individual panes by issuing multiple (clim:open-window-stream :parent *root-window* :left left :right right :top top :bottom bottom).  The application could be easily created using (clim:define-application-frame...) but, alas, too much legacy code would have to be rewritten and there is not enough time.

Is the problem with the window manager?  Are there any other possible culprits?  If the problem is with the window manager, is there any way to tell the window manager that i want absolute placement of the windows with respect to the root and not to mess with this placement?  How would i do this? I am not a X guru by any means, so please keep all comments simple in that regard.

--Robin Kladke
Software Engineer (AI applications)
Martin Marietta
Denver, CO


Follow-Ups:

Main Index | Thread Index