[Bf-blender-cvs] [165c8450845] decoration: libdecor_frame_unref

Christian Rauch noreply at git.blender.org
Sun May 24 01:15:29 CEST 2020


Commit: 165c8450845e34f43e719ee63941bdecd9c8be70
Author: Christian Rauch
Date:   Sun May 24 00:15:20 2020 +0100
Branches: decoration
https://developer.blender.org/rB165c8450845e34f43e719ee63941bdecd9c8be70

libdecor_frame_unref

===================================================================

M	intern/ghost/intern/GHOST_WindowWayland.cpp

===================================================================

diff --git a/intern/ghost/intern/GHOST_WindowWayland.cpp b/intern/ghost/intern/GHOST_WindowWayland.cpp
index 8f92a31d4c3..2f99e77155c 100644
--- a/intern/ghost/intern/GHOST_WindowWayland.cpp
+++ b/intern/ghost/intern/GHOST_WindowWayland.cpp
@@ -370,6 +370,8 @@ GHOST_WindowWayland::~GHOST_WindowWayland()
 {
   releaseNativeHandles();
 
+  libdecor_frame_unref(w->frame);
+
   wl_egl_window_destroy(w->egl_window);
 //  xdg_toplevel_destroy(w->xdg_toplevel);
 //  xdg_surface_destroy(w->xdg_surface);



More information about the Bf-blender-cvs mailing list