Add config option to supress focus requests across workspaces
commit6d75291e1d137173e1cfd0d03eb8356377c962e8
authorCarlos R. Mafra <crmafra@gmail.com>
Tue, 25 Aug 2009 19:15:35 +0000 (25 21:15 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Wed, 26 Aug 2009 15:53:08 +0000 (26 17:53 +0200)
treee8a55de1210cc8efb1346c96c18cf91c64b4777e
parentca60620f5065f77b87fc99d10942a8c64a3dd49a
Add config option to supress focus requests across workspaces

In commit d6c134f420bfa1cd6b6a9474d01548933b559901 ("Do not switch
workspace to follow new windows in others") the default behavior
was changed, and workspace switching to follow focus requests was
strictly forbidden.

Although that seems to be a sane thing to do by default, that raises
concerns about whether Window Maker could be more flexible in that
respect -- allowing the user to choose which applications are or
are not allowed to do that.

This patch adds such configuration, located in the "Advanced Options"
submenu of the top-level "Attributes" menu.
src/session.c
src/wdefaults.c
src/window.h
src/winspector.c
src/wmspec.c