ITADN

Fix crash when new output added

#73Pull Requestmstoeckl 创建于 2024-05-21已合并
M
mstoecklcommented
> Calling get_buffer_size on a newly created swaybg_output, before a config is assigned to a swaybg_output, is unnecessary and yields a null pointer dereference. To reproduce the crash: open a nested instance of `sway`, run `swaybg` , and call `swaymsg create_output`.
合并状态:已合并 合并于 2024-05-21 关闭于 2024-05-21 0 条评论