From 118006e8766a56b6fadff2c66d659dbba9ae200f Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Tue, 22 Mar 2022 21:59:14 +0100 Subject: fixed layersurface coord mapping --- src/Compositor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Compositor.cpp') diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 953ae1c8..d7b7df4a 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -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)); } \ No newline at end of file -- cgit v1.2.3