Commit: 02fa3a8128b038342ee40431133ef9a9aea9bb03
Author: Campbell Barton
Date: Wed Nov 16 21:04:30 2022 +1100
Branches: blender-v3.4-release
https://developer.blender.org/rB02fa3a8128b038342ee40431133ef9a9aea9bb03
Cleanup: remove unused window_manger reference in GHOST_WindowWayland
===================================================================
M intern/ghost/intern/GHOST_WindowWayland.cpp
===================================================================
diff --git a/intern/ghost/intern/GHOST_WindowWayland.cpp
b/intern/ghost/intern/GHOST_WindowWayland.cpp
index 298e03dbe6b..460fc99d27f 100644
--- a/intern/ghost/intern/GHOST_WindowWayland.cpp
+++ b/intern/ghost/intern/GHOST_WindowWayland.cpp
@@ -47,8 +47,6 @@ static constexpr size_t base_dpi = 96;
# define use_libdecor GHOST_SystemWayland::use_libdecor_runtime()
#endif
-static GHOST_WindowManager *window_manager = nullptr;
-
#ifdef WITH_GHOST_WAYLAND_LIBDECOR
struct WGL_LibDecor_Window {
struct libdecor_frame *frame = nullptr;
@@ -793,11 +791,6 @@
GHOST_WindowWayland::GHOST_WindowWayland(GHOST_SystemWayland *system,
std::lock_guard lock_server_guard{*system->server_mutex};
#endif
- /* Globally store pointer to window manager. */
- if (!window_manager) {
- window_manager = system_->getWindowManager();
- }
-
window_->ghost_window = this;
window_->ghost_system = system;
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs