RE: Showing a window behind others?



> I don't see why simply setting TRANSIENT_FOR doesn't work here.  Owen
> implies that the ICCCM forbids changing transient for on a mapped
> window, but I don't actually see that in section 4.1.2.6, and while
> some WMs may not honor it I think most will at least handle it
> gracefully. If they don't they suck.

The problem with my situation is, that window 1 (connection status) is shown
FIRST because it received a message from the server stating something (a
driver) is up or down.  This occurs as soon as I log in, which is before I
have received my configuration and decided to show the window 2 (main
window).  

I tried the transient window idea, and although it works, I think of it as
too much of a hack. To do it, I have set a flag somewhere and when window 2
loads, I have to THEN set window 1 as its transient window.

In then end, because I do not want this to be a transient window at all, I
decided to use gdk_window_raise (but still required the hack to do this ONLY
when window 2 loads and ONLY if a flag is set to do it).

Regards,
Martyn



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]