https://bugs.kde.org/show_bug.cgi?id=397834

--- Comment #11 from David Edmundson <k...@davidedmundson.co.uk> ---
>d but mouse input is ignored, mouse pointer reacts to content under Firefox 
>window.

I've been investigating this first as I have a raster dialog on my startup.



Firefox uses subsurfaces.

[1911371.914]  -> zxdg_shell_v6@17.get_xdg_surface(new id zxdg_surface_v6@31,
wl_surface@30)

[1911388.950]  -> wl_subcompositor@29.get_subsurface(new id wl_subsurface@41,
wl_surface@40, wl_surface@30)

Here we have surface 30 as the parent which is the toplevel, surface 40 is the
subsurface

our pointer only enters surface 40
wl_pointer@3.enter(4096, wl_surface@40, 323.000000, 122.000000)

as it fills the whole area we never enter surface 30


gdkdevice-wayland.c:1507

pointer_handle_enter

has the line 
  if (!GDK_IS_WINDOW (wl_surface_get_user_data (surface)))
    return;

our subsurface is not a window so we fail early. It then ignores all mouse
events as it thinks no window has focus.

Our code is definitely going out of it's way to make sure we send things to the
subsurface; docs are a bit unclear on whether it's right or not.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to