• Dominik Laskowski's avatar
    exo: Dispatch touch input to root surface for ARC · 3e2f9479
    Dominik Laskowski authored
    This CL enforces that the target surface for touch events is always the
    root surface for ClientControlledShellSurface.
    
    ARC currently disables input for all sub-surfaces such that the target
    surface is always the root surface. Newer clients will use a surface
    hierarchy consistent with upstream Wayland, so focus will move between
    different surfaces. This CL prevents touch events from being discarded
    when capture changes during dragging/resizing, as a stopgap until
    server-driven dragging/resizing is implemented.
    
    Bug: b:67384524
    Test: Input still works in ARC.
    Change-Id: I3b419ec14cc04432b5b92618ed45df441da0d8eb
    Reviewed-on: https://chromium-review.googlesource.com/812980
    Commit-Queue: Dominik Laskowski <domlaskowski@chromium.org>
    Reviewed-by: default avatarDavid Reveman <reveman@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#524259}
    3e2f9479
shell_surface_base.cc 43.5 KB