On Sat, 1 Nov 2003 11:55:08 +1100, Carsten Haitzler (The Rasterman) <[EMAIL PROTECTED]> wrote:
>the raise will raise ontop of everything - BUt something may raise itself above >your window immediately afterwards too... Bad luck. :) >inputonly windows are invisible windows. you can map,unmap, move, resize, get >events (mouswe moves, button presses, key events etc.) on them, but they do not >visually do anything on the screen. ok, that's what I want. >yes. every time a window is created (or destroyed etc. etc.) if you select for >the right event mask (structure & substructurenotify) x will tell u when the >root window and children of it change (created, destoryed, reparent, move, >resize, restack etc.) with events. this is close to what a window manager does >(close, but not quite). i'd definitely suggets the inputonly window. u will >never be ab;e to sensibly pass events on, but in the area of the screen the >inputonly window lives, you can "eat" all the events yourself :) Can I monitor the mousemovment for all windows? Like a grab, but not that I grab the events, just get a notification about an event. Another idea that just occured is to monitor mousemovement and rais my window when the mouse is in the area where I want it to be activated. Can this be done? And how would I do this? Using a grab doesn't work but you guys always talk of polling the root window or monitor it. How can this be done? Polling is only the last ressort of course because it is not nice. :) >on-top stacking of your inputonly window) then if the mouse exits that toolbor, >hide it again. monitor stacking as mentioned above with structure & >substructurenotify mask set on root and handle the events. the problemn here is This is similar to what the sidebar can do in Window, but I don't like it. It always gets in the way because it pops up when you don't need it. >really gdk/gtk. i dont know how well it will deal with this. if u did it in xlib >u'd be fine, but i am not sure if gdk/gtk will be 100% happy. others might know >if ti will or will not. If I have one solution either in X or in GTK then I can worry about the other. If I have a GTK solution, thats fine. If I find an Xlib solution then I cann see how to do it in GTK or do some wrapper for this. But first I have to find at least ONE solution that works as I want it to. :) -- 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
