slackbuilds_ponce/desktop/wayfire/footclose.patch
Damian Perticone 8deadf85cd
desktop/wayfire: Updated for version 0.7.4.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2022-09-03 17:58:41 +07:00

12 lines
337 B
Diff

--- a/src/view/subsurface.cpp
+++ b/src/view/subsurface.cpp
@@ -41,7 +41,8 @@ wf::subsurface_implementation_t::subsurface_implementation_t(wlr_subsurface *_su
wf::point_t wf::subsurface_implementation_t::get_offset()
{
- assert(is_mapped());
+ if (!is_mapped())
+ return {0, 0};
return {
sub->current.x,