[Bf-blender-cvs] [63bf0cad211] decoration: libdecor_frame_set_parent_frame
Christian Rauch
noreply at git.blender.org
Sun May 24 01:15:29 CEST 2020
Commit: 63bf0cad211ec4968b8083ebd884de16abe974ec
Author: Christian Rauch
Date: Thu May 21 21:55:16 2020 +0100
Branches: decoration
https://developer.blender.org/rB63bf0cad211ec4968b8083ebd884de16abe974ec
libdecor_frame_set_parent_frame
===================================================================
M intern/ghost/intern/GHOST_WindowWayland.cpp
===================================================================
diff --git a/intern/ghost/intern/GHOST_WindowWayland.cpp b/intern/ghost/intern/GHOST_WindowWayland.cpp
index cd033f04bee..8f92a31d4c3 100644
--- a/intern/ghost/intern/GHOST_WindowWayland.cpp
+++ b/intern/ghost/intern/GHOST_WindowWayland.cpp
@@ -241,9 +241,7 @@ GHOST_WindowWayland::GHOST_WindowWayland(GHOST_SystemWayland *system,
libdecor_frame_map(w->frame);
if (parentWindow) {
- // TODO:
-// xdg_toplevel_set_parent(
-// w->xdg_toplevel, dynamic_cast<const GHOST_WindowWayland *>(parentWindow)->w->xdg_toplevel);
+ libdecor_frame_set_parent_frame(w->frame, dynamic_cast<const GHOST_WindowWayland *>(parentWindow)->w->frame);
}
/* Call top-level callbacks. */
More information about the Bf-blender-cvs
mailing list