Metacity always selects an active window when another window is closed. The problem with the desktop effect enabled is another issue - bug #457139 - and in that, the behavior when closing a window is somewhat different. See that bug report for details.
-- focus does not return to desktop after opening and closing a file on it if anther window is open https://bugs.launchpad.net/bugs/268963 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs