Partial fix for focus stealing
commitf6fefbd9b6c6d22b13a22a22955478395933e615
authorTamas TEVESZ <ice@extreme.hu>
Mon, 18 Apr 2011 19:00:49 +0000 (18 21:00 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Mon, 18 Apr 2011 20:23:22 +0000 (18 13:23 -0700)
tree9e27b10c9e5f05f99dd53362a650b107fdc7fdaa
parent5fa8b979b996f800da1881530040f861672b7c35
Partial fix for focus stealing

By turning M'bert's d6c134 around a bit and adapting the surroundings,
allow _NET_ACTIVE_WINDOW only if fulfilling it doesn't cause annoying
unwanted changes in the workspace. This is now the default behaviour;
unconditional focus stealing can be enabled on a per-client basis in the
Advanced Options window menu ("Focus across workspaces").
src/wdefaults.c
src/window.h
src/winspector.c
src/wmspec.c