kranewl

A wlroots-based dynamic Wayland compositor, written in C++, configurable with Lua
git clone git://git.deurzen.net/kranewl
Log | Files | Refs | LICENSE

commit 1f19950f4da437cf9746e9e109e5c37f7f82bc6c
parent d144174f1b65c207af0c98d1265f67b6a0536996
Author: deurzen <max@deurzen.net>
Date:   Wed,  1 Jun 2022 09:06:06 +0200

resolves workspace arrangement segfault

Diffstat:
Msrc/kranewl/model.cc | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/kranewl/model.cc b/src/kranewl/model.cc @@ -1147,8 +1147,7 @@ Model::apply_layout(Workspace_ptr workspace) TRACE(); Output_ptr output = workspace->context()->output(); - - if (workspace != output->context()->workspace() || !output) + if (!output || workspace != output->context()->workspace()) return; for (Placement placement : workspace->arrange(output->placeable_region()))