-
pkotwicz@chromium.org authored
Revert of Simplify the logic in DesktopWindowTreeHostX11 for FocusOut (https://codereview.chromium.org/379773003/) Reason for revert: I am reverting this CL because it causes regressions like crbug.com/395985. This CL is in the right direction, but I need to make the capture code for tab dragging less crazy first. See comment #3 in crbug.com/395985 for more details Original issue's description: > Simplify the logic in DesktopWindowTreeHostX11 for FocusOut > > We should have the same handling regardless of whether the 'mode' member is > NotifyGrab or NotifyUngrab. According to > http://tronche.com/gui/x/xlib/events/input-focus/grab.html, whether the mode > field is NotifyGrab or NotifyUngrab depends on whether there is a new > capturer for the keyboard. The X window has lost keyboard capture in both cases. > > BUG=392480 > TEST=None > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283823 TBR=erg@chromium.org,erg@google.com,sadrul@chromium.org NOTREECHECKS=true NOTRY=true BUG=392480 Review URL: https://codereview.chromium.org/409223003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284919 0039d316-1c4b-4281-b951-d872f2087c98
c178471b