You are not logged in.
After lanuching a new client in floating mode, I am finding that the originating client overlaps the newly created cllient.
So for example if I lauch an app from xterm then xterm maintains its focus and overlaps the newly created client. I would like to find a way to get the opposite behaviour so that the newly created client gets focus and overlaps all other clients.
Last edited by wildfowl (2015-05-28 08:02:34)
Offline
If I'm not wrong, the new client is pushed on the top of the client stack so when you launch a new application, its window should become the active one (at least it works so for me). Did you apply some patch when you compiled dwm? Also by any chance does the window of the application you launch have the attribute override_redirect set (you can use the command xwininfo to show the window attributes)?
Last edited by mauritiusdadd (2015-05-26 19:26:39)
Offline
You might be right. Vanilla dwm does not exhibit this sort of behaviour.
Offline
The following piece of code in dwm-6.0-singularborders.diff was the culprit.
+ if(!c->isfloating) {
+ wc.sibling = selmon->barwin;
+ wc.stack_mode = Below;
+ XConfigureWindow(dpy, c->win, CWSibling | CWStackMode, &wc);
+ }Offline