DescriptionUse input method's context for tracking focus states in OnGrabNotify.
Current implementation of RenderWidgetViewHostGtk::OnGrabNotify()
records the focus state obtained by gtk_widget_is_focus() when
other window get a grab, and set the stored state to the
input context on ungrab notification.
This CL changes to store the focus state of input context rather
than gtk_widget_is_focus(), and resolves the inconsistency issue.
BUG=chromium-os:15773
TEST=http://crosbug.com/15773#c20
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=95573
Patch Set 1 #Patch Set 2 : Retrieve the focus state from IM wrapper. #
Total comments: 4
Patch Set 3 : Change getter and variable names. #
Total comments: 2
Patch Set 4 : Correction in a comment #
Messages
Total messages: 14 (0 generated)
|