On Fri, 31 Oct 2003 08:51:07 +1100, Carsten Haitzler (The Rasterman) <[EMAIL PROTECTED]> wrote:
>you willonly then get events when the mouse passes over your thin window. That's no problem as long as my window stays on top. >not as a widget - no. you'll have to jump down to gdk. i'm not sure if gdk >supports this though. you'll want an inputonly window thats a toplevel window >(immediate child of root) thats override-redirect. you'll need to also monitor I managed to create an invisible window which is only one pixel in widht and has the same height as the screen (hardcoded for now, how can I query the current resolution?). The only problem, I still have is, to make the window stay on top of all others in order to always receive input events when the user moves the mouse to the right border (or where he configured it). Is it possible to create a window that always stays on top? Not only of it's own application, but of all application windows. If not, is it possible to get an event when my window is obscured or lowered because another window has been raised over it? Actually getting the inof when it is obscored would be enough because it only needs to stay accessible all the time and for this it doesn't have to be the top window. And can I raise a window above all others? I browsed the web for this, but it seems that is also not possible. Everytime I think of a new way how to achieve what I need it seems to be blocked by X. :( >all client windows, where they move, go etc. and follow.... i'm still not even >100% sure what it is you want to actually do (in overall aim) You can take a look in the readme at http://sourceforge.net/projects/launchmenu, there I explain it. Its just a simple app that has been proven quite usefull to me over the years and I wrote this for myself because the original source is not portable and the author doesn't give away all the source anyway. If you don't want to download the package, it is of course in the CVS as well. >there's a whole extension devoted to recording events - the xrecord extension - >but i know very little about it. :) No prob. It wouldn't do what I need anyway. -- 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
