New issue
Advanced search Search tips

Issue 836177 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: Apr 2018
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Event targeting for exo window frame doesn't work for X11 builds

Project Member Reported by reve...@chromium.org, Apr 24 2018

Issue description

Only the client area will receive events. Unless the window frame overlaps some other window.

Using ui::mojom::EventTargetingPolicy::TARGET_AND_DESCENDANTS instead of DESCENDANTS_ONLY in ShellSurfaceBase::CreateShellSurfaceWidget makes the problem go away.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Apr 24 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/b4662fad465a479ce5fafd0d097533564ed05033

commit b4662fad465a479ce5fafd0d097533564ed05033
Author: David Reveman <reveman@chromium.org>
Date: Tue Apr 24 15:13:42 2018

exo: Fix event dispatch to frame view.

Use TARGET_AND_DESCENDANTS for event targeting policy to ensure
that frame view hit testing works correctly.

Bug:  836177 
Test: window frame for xdg surfaces receive events in X11 cros build
Change-Id: I8a9cae6af24253c9611035353ea6120639f7b1c6
Reviewed-on: https://chromium-review.googlesource.com/1025633
Reviewed-by: Mitsuru Oshima <oshima@chromium.org>
Commit-Queue: David Reveman <reveman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#553120}
[modify] https://crrev.com/b4662fad465a479ce5fafd0d097533564ed05033/components/exo/shell_surface_base.cc

Status: Fixed (was: Untriaged)

Sign in to add a comment