fixed layersurface coord mapping

This commit is contained in:
vaxerski
2022-03-22 21:59:14 +01:00
parent 2bc29f32ec
commit 118006e876
3 changed files with 22 additions and 18 deletions

View File

@@ -467,5 +467,5 @@ void CCompositor::fixXWaylandWindowsOnWorkspace(const int& id) {
}
bool CCompositor::doesSeatAcceptInput(wlr_surface* surface) {
return !m_sSeat.exclusiveClient || m_sSeat.exclusiveClient == wl_resource_get_client(surface->resource);
return !m_sSeat.exclusiveClient || (surface && m_sSeat.exclusiveClient == wl_resource_get_client(surface->resource));
}