[client] wayland: make input handlers aware of multiple surfaces

This prevents input handlers from breaking in presence of subsurfaces,
which are used by libdecor for client-side decorations.
This commit is contained in:
Quantum
2021-03-06 17:17:11 -05:00
committed by Geoffrey McRae
parent d6a290a31d
commit ba3243f88a
2 changed files with 24 additions and 0 deletions

View File

@@ -70,6 +70,8 @@ struct WaylandDSState
{
bool pointerGrabbed;
bool keyboardGrabbed;
bool pointerInSurface;
bool focusedOnSurface;
struct wl_display * display;
struct wl_surface * surface;