| Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
| Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
| Moderator: | STAR::VATNE |
| Created: | Mon Oct 30 1989 |
| Last Modified: | Mon Dec 31 1990 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 3726 |
| Total number of notes: | 19516 |
I am trying to open two windows, one on a DECstation 3100 and one
on a VAXstation 2000. The decstation runs Ultrix and has 8 planes,
the vaxstation runs VMS and has 4 planes.
I use pure X windows (don't want the toolkit).
First I open two displays, create a window for each display and map it.
In my "main loop" I do
for (;;) {
if (XPending(displays[0].display))
XNextEvent(displays[0].display, &ev);
if (XPending(displays[1].display))
XNextEvent(displays[1].display, &ev); }
This causes the windows to appear on the displays. Unfortunately,
the one created on the VAXstation disappears immediately.
I tried doing a map again, with no result, but I get no errors either.
I must be missing something, but what ?
Any help or example welcome.
Thanks,
Dominique
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 3108.1 | more details | KETJE::DIERICK | Have Telescopes, Will Travel | Fri Jul 20 1990 12:46 | 12 |
Reply to myself to give more details :
I remarked that I did a XLowerWindow on each window. This makes the
window on the VAXstation to disappear. My window remains nicely on
the display if I don't to a LowerWindow.
Is there an explanation for this behaviour ? The vaxstation has
a tiling pattern as its default root background. This is not made in
a window above the root window is it ? Then it would make sense that
my window disappears behind it.
Dominique
| |||||
| 3108.2 | solved problem, but get a new problem... | KETJE::DIERICK | Have Telescopes, Will Travel | Fri Jul 20 1990 13:07 | 11 |
Oh well, it is probably like I explained in .1.
If I change the "root" background to black, without tiling pattern,
it works. But this raises another question : How can I make
sure that my window will be lower then any application window but
higher then the window used for the tiling pattern of the "root"
window ?
Dominique
| |||||
| 3108.3 | maybe you can't do it | STKMKT::SWEENEY | Online and Out of Bounds | Fri Jul 20 1990 13:58 | 6 |
Implied from the X WINDOW SYSTEM reference, you cannot restack
arbitrary windows with XLib, only windows which are siblings with
XConfigureWindow.
I suppose that there might be a window manager protocol to do this,
but if there is, I don't know it.
| |||||