window manager focus and window stack

window manager focus and window stack

Post by ecenta.. » Sat, 06 Nov 1999 04:00:00

I really, really need some help on this so even if you can't help would
you please point me to someone might or another more appropriate list to
post to.  TIA

I'm writing a non-kde application that I would like it to stay on the
bottom of the window stack.  I also need to have KWM set up as "click to
focus" as well as have the application NOT act sticky(should display
ONLY on it's desigated desktop).  I need to program my app so that when
you click on it, it will not overlap the other windows on the desktop.
Presently, if you right-click on it, it acts as desired but I need to
have it act the same on left click.

So far I've tried the following:
1) set the override-redirect -- this causes to the app to stick on every
desktop  :-(
2) capture focus_in event and call XLowerWindow() -- the app will
momentarily be on top of the stack after the click and THEN the focus-in
event gets called and the app is moved to the bottom of the window
stack.  The other apps flicker momentarily :-(
3) set the noFocusTitles and noFocusClasses in the [Focus] section of
the kwmrc. -- this prevents the app from getting the focus but does NOT
prevent it from moving to the top of the window stack and overlapping
the other windows.  :-(

I've traced the sequence of events (using xev) during both right-click
and left-click and they're identical.  There are no exposure events
being generated during these types of clicks so something else is
painting (backingstore?) the app.

Ed Centanni

Sent via
Before you buy.


1. Sawfish Window Manager - not raising windows when focussed

I am using sawfish window manager on linux (Redhat 7.0 on
i686 platform) and would like to configure the window
manager so that a focussed window does NOT raise
automatically. I have tried doing this through
Customize->Focus Menu and deselecting
"Raise windows when they are focussed".
But it doesn't seem to do the job.




- Krishnan Sridhar
  Phone: (214) 480-3372

2. ISDN questions

3. How do you control the focus in a Window Manager to do Click To Focus?

4. Mail problem: I don't get the 'error' replies !

5. how do you open other window managers in a window manager

6. Decent vt100 termcap entry?

7. KWM focus and window stack

8. Congrats: usbnet zaurus support works in 2.5.45

9. getting the window id and name of the currently focussed window !!

10. Problem switching focus from window to window.

11. Focus to follow mouse and window with focus to come to front

12. Need help with focus on twm, fvwm2 or <insert window manager here>

13. GNOME window manager and dialog focus