diff options
author | Damian Perticone <mjolnirdam@gmail.com> | 2022-08-31 02:32:57 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-09-03 17:58:41 +0700 |
commit | 8deadf85cdcd397f8ac2f81a5bf46c023b389c56 (patch) | |
tree | 31426cb678b89b26ac79610ebb6b1ce3ac0696b6 /desktop/wayfire/footclose.patch | |
parent | c668d0c1af027acb14ef83c4e761cdbf3a75b996 (diff) | |
download | slackbuilds-8deadf85cdcd397f8ac2f81a5bf46c023b389c56.tar.gz slackbuilds-8deadf85cdcd397f8ac2f81a5bf46c023b389c56.tar.xz |
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>
Diffstat (limited to 'desktop/wayfire/footclose.patch')
-rw-r--r-- | desktop/wayfire/footclose.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/desktop/wayfire/footclose.patch b/desktop/wayfire/footclose.patch new file mode 100644 index 0000000000..8eb8fc3730 --- /dev/null +++ b/desktop/wayfire/footclose.patch @@ -0,0 +1,12 @@ +--- 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, |