]> git.mdlowis.com Git - proto/labwc.git/commit
cursor: backport null check from wlroots-0.17 branch
authorJohn Lindgren <john@jlindgren.net>
Sat, 14 Oct 2023 17:56:03 +0000 (13:56 -0400)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Sat, 14 Oct 2023 18:01:51 +0000 (20:01 +0200)
commit50ceae5fb4eb033dbffc04cf41eabc920727dd11
treec6134b0444c49f5e2704e125be040dc807038a5d
parent259d6d0c71cc7e198ede31c3bc22f1675ab14c83
cursor: backport null check from wlroots-0.17 branch

Check that wlr_layer_surface_v1_from_wlr_surface() doesn't return NULL.
This may be unnecessary with wlroots 0.16 (not sure) but doesn't hurt
and reduces the delta to the wlroots-0.17 branch.
src/cursor.c