diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-22 21:59:14 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-22 21:59:14 +0100 |
| commit | 118006e8766a56b6fadff2c66d659dbba9ae200f (patch) | |
| tree | eb46ae783600ea36389f1246e4e90f2db01fda97 /src/Compositor.cpp | |
| parent | 2bc29f32ec087f8577ff1fd6bb031ea47b133057 (diff) | |
fixed layersurface coord mapping
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
