wm: Focus newest-mapped modal window.
Update the window manager so that when a browser has
multiple modal transient windows, the most-recently-mapped
one gets the focus and is raised above its siblings.
BUG=chromium-os:17642
TEST=added; manual testing suggests that there may be another issue in chrome
Change-Id: I1cbe1dff6c590a25aa0c134be5748e44ff7d98dd
Reviewed-on: http://gerrit.chromium.org/gerrit/4551
Reviewed-by: James Cook <jamescook@chromium.org>
Tested-by: Daniel Erat <derat@chromium.org>
8 files changed