Commit af493205 authored by sky@chromium.org's avatar sky@chromium.org

Fixes bug where reposted events had wrong root coordinates

Reposting happens when a menu is running and you click outside the
menu. The code was not setting the root_location of the newly created
event, resulting in anyone attempting to use the root (such as the app
list) getting the wrong thing.

BUG=285662
TEST=see bug
R=ben@chromium.org

Review URL: https://chromiumcodereview.appspot.com/23694022

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221735 0039d316-1c4b-4281-b951-d872f2087c98
parent d3f434f7
......@@ -41,6 +41,7 @@ bool RepostLocatedEvent(gfx::NativeWindow window,
return false;
}
relocated->set_location(root_loc);
relocated->set_root_location(root_loc);
root_window->RepostEvent(*relocated);
return true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment