On Fri, 31 Oct 2003 10:52:44 +1100, Carsten Haitzler (The Rasterman) <[EMAIL PROTECTED]> wrote:
>no. the wm - or any app can go raising windows above yours... you cant clock >windows in place to be on top as such. (ok we can argue of some nasty hacks and >methods if you are the wm... but thats a world on its own.) If I raise my window, how can I make sure that it is on top of all? >ok. for a normal window yes its possible to get events to know if you got >obscured. they are called visibilitynotify events. BUT i am actually not sure if >they will be received by inputonly windows. but thats the path you want to go. Whats input only windows? How can I make sure my window is not an InputOnly window but, whatever, else? >you could find if a window has been raised/lowered etc. by monitoring >creatnotifies on root, then on every windows created monitor structurenotifies >then look for configurenotify events and check the stacking sections (above, >window, event). again - i dont know how well gdk(gtk) supports this part of x so >you may have to dump into xlib. I don'tneccessarily need to do that. If it is possible to make sure that my window is raised on top off all, then I can simply monitor for this visibillitynotify, and raise it anyway. If it is not possible to create other window then this inputwindow then I can monitor this createnotify. How is this working? Does root then send me an event everytime a window is created? >hmm how is it meant to work? mouse goes to left or right side of window, >launcher buttons pop up and u click one to run something? Yes. The nice thing of this tool is, that it always works. You don't need to have a window or a bar or anything on the screen which you need to access. It's really usefull to have around, thats why I decided to port it to linux. -- Gerhard Gruber F�r jedes menschliche Problem gibt es immer eine einfache L�sung: Klar, einleuchtend und falsch. (Henry Louis Mencken) _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
