Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 171186

Summary: x11-wm/icewm-1.2.30 do not work correctly with ClickToFocus=0
Product: Gentoo Linux Reporter: Laurent MONIN <gentoo>
Component: Current packagesAssignee: Steve Dibb (RETIRED) <beandog>
Status: RESOLVED INVALID    
Severity: normal CC: desktop-wm+disabled, greydruid
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Laurent MONIN 2007-03-16 19:52:02 UTC
ClickToFocus=0 option in preferences do not change the default behavior, while it was the case with older versions.
Since there is no older ebuild for icewm downgradinf is not an option.
Comment 1 John 2007-03-17 19:27:12 UTC
Hrmm are you looking for the focus behaviour where the focus follows the mouse pointer?  If so this is called "Sloppy Mouse Focus" and you can set it in the menu -> settings -> sloppy mouse focus  OR you can put "FocusMode=2" in your ~/.icewm/focus_mode file.

If that doesn't solve it can you specify what focus behaviour you are after? I think the settings file format changed so you might have to hunt around and find the new ones to do what you want.

Here's what the changelog from the icewm page says about the settings file changes

# 1.2.30: 2006-12-24

    * battery status cleanups
    * new option BatteryPollingPeriod (default 10 seconds)

# 1.2.30pre1: 2006-12-17

    * fix focus after minimizing all windows
    * moved Themes selection to Settings menu
    * added Settings -> Focus menu (config saved to ~/.icewm/focus_mode as FocusMode=1,2 or 0)
    * startMinimized window option fixed
    * new setting MapInactiveOnTop (default 1)
    * new setting RequestFocusOnAppRaise (when FocusOnAppRaise=0)


So try this command and hopefully it will fix it.

$ echo "FocusMode=2" >> ~/.icewm/focus_mode

Regards, John
Comment 2 Laurent MONIN 2007-03-17 19:40:08 UTC
Damn, it works !
I overlook that change and i should RTFM even more.

Thank you.

I'm sorry to eat your time with such things.

Good news: that's not a bug ! So you can close it.
Comment 3 Steve Dibb (RETIRED) gentoo-dev 2007-03-17 19:51:41 UTC
thanks laurent, john :)
Comment 4 John 2007-03-17 21:09:00 UTC
=) np