]> git.mdlowis.com Git - proto/labwc.git/commit
Check the return value of wlr_output_layout_get() for NULL
authorJohn Lindgren <john@jlindgren.net>
Fri, 24 Dec 2021 20:53:49 +0000 (15:53 -0500)
committerJohan Malm <johanmalm@users.noreply.github.com>
Fri, 24 Dec 2021 21:08:32 +0000 (21:08 +0000)
commit2ce961a0bd2d92e091f993d0f63cd01bf06158c7
treeecc75d8b164941331e2fa39c30be454c689ae5e6
parent46bd0d549f14d476b522665e38983a2b181e05fe
Check the return value of wlr_output_layout_get() for NULL

wlr_output_layout_get() seems to return NULL for disabled outputs.

Fixes: #174
src/output.c
src/view.c