[PATCH xserver v2 3/7] xwayland: "Accept" confineTo on InputOnly windows

Carlos Garnacho carlosg at gnome.org
Tue Feb 21 15:40:04 UTC 2017


On Mon, Feb 20, 2017 at 11:48 PM, Carlos Garnacho <carlosg at gnome.org> wrote:
> Of sorts, actually make it confine to the pointer focus, as the
> InputOnly window is entirely invisible to xwayland accounting,
> we don't have a xwl_window for it.
>
> Signed-off-by: Carlos Garnacho <carlosg at gnome.org>
> ---
>  v2: Check that ConfineTo and focus windows clients are the same.

NACK this patch, v1 is as good as it gets... This breaks for the Wine
case as confining happens on a window created by the wineserver
process and passed to the grabbing process, the InputOnly and focused
InputOutput windows' clients differ and confining fails.

If this is too uncomfortable, I can just think of checks to ensure
both windows match in size/position.

Cheers,
  Carlos


More information about the xorg-devel mailing list