]> git.mdlowis.com Git - proto/labwc.git/commit
xwayland: remove obsolete (since wlroots 0.17) NULL check
authorJohn Lindgren <john@jlindgren.net>
Tue, 11 Nov 2025 21:45:28 +0000 (16:45 -0500)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Sat, 15 Nov 2025 11:19:31 +0000 (12:19 +0100)
commit8ced055cb99b403ed1a8db8dae533b22d896a380
tree9507768ad968688060a9ce636dab577283b81e76
parentb35b935ab175b5949a67cff03167dbc2cbc4ef2c
xwayland: remove obsolete (since wlroots 0.17) NULL check

Since d7dc6e01b446 ("Chase wlroots: Unified mapping"), the map event
is emitted by the wlr_surface itself, thus it cannot be NULL.

Change the "if" to an "assert" accordingly.
src/xwayland.c