How to control focus in window manager JWM?

Booting, installing, newbie
Post Reply
Message
Author
xan
Posts: 54
Joined: Sun 25 Nov 2012, 12:27

How to control focus in window manager JWM?

#1 Post by xan »

When an application spawns a child window and I close it, the keyboard focus does not return to the application but goes to a different window underneath.

This typically happens when I open a preferences dialog and close it. Some applications that have this problem are Umplayer and Geany.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#2 Post by Semme »

Xan- you describe click.. there's sloppy too. Have you toyed with the focus model in JWM config?

xan
Posts: 54
Joined: Sun 25 Nov 2012, 12:27

#3 Post by xan »

Thank you, but I want to use click. I want the top (child) window to retain focus unless I intend to move elsewhere. Sloppy is the worst thing.

For example, in Geany if I use find or open the preferences window and then close or cancel it, the focus doesn't return to the Geany main window. If I use keyboard command to minimise then main Geany window gets active again. It was like there is some other invisible window still active in between.

This also happens with Smplayer and Umplayer.

User avatar
puppyluvr
Posts: 3470
Joined: Sun 06 Jan 2008, 23:14
Location: Chickasha Oklahoma
Contact:

#4 Post by puppyluvr »

:D Hello,
Look @
.jwmrc
which is a "hidden" XML file in /root.....
Close the Windows, and open your eyes, to a whole new world
I am Lead Dog of the
Puppy Linux Users Group on Facebook
Join us!

Puppy since 2.15CE...

xan
Posts: 54
Joined: Sun 25 Nov 2012, 12:27

#5 Post by xan »

Thank you but I don't know what you want me to look at there. I have already chosen click model, but it is not working as it should be for all applications.

I also found:
<Group>
<Class>gtkdialog-splash</Class>
<Option>nolist</Option>
<!-- <Option>layer:9</Option> -->
<Option>nofocus</Option>
</Group>

Is that what I should be changing?

Post Reply