Descriptionchromeos: Add screen locker to window group *after* grab.
Otherwise, if it's already in its own window group, it won't
be able to break other widgets' grabs.
This also separates out the showing and grabbing code, so we
can show the widget before mapping the locker window and then
grab the pointer and keyboard afterwards.
BUG=chromium-os:8999, chromium-os:9200
TEST=opened a context menu and checked that screen locks immediately. also tested that the original problem with modal dialogs didn't regress
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=66287
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=66460
Patch Set 1 #Patch Set 2 : merge #Patch Set 3 : show widget immediately but defer grab #Messages
Total messages: 5 (0 generated)
|