[Bf-blender-cvs] [47fea20dc87] master: GHOST: set the window state on wayland startup

Christian Rauch noreply at git.blender.org
Fri May 1 11:03:37 CEST 2020


Commit: 47fea20dc870d72d03f0e0babd7aec21b73315ff
Author: Christian Rauch
Date:   Fri May 1 18:38:27 2020 +1000
Branches: master
https://developer.blender.org/rB47fea20dc870d72d03f0e0babd7aec21b73315ff

GHOST: set the window state on wayland startup

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

M	intern/ghost/intern/GHOST_WindowWayland.cpp

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

diff --git a/intern/ghost/intern/GHOST_WindowWayland.cpp b/intern/ghost/intern/GHOST_WindowWayland.cpp
index b75b30cb6e4..0ea6f5f8ecb 100644
--- a/intern/ghost/intern/GHOST_WindowWayland.cpp
+++ b/intern/ghost/intern/GHOST_WindowWayland.cpp
@@ -176,6 +176,8 @@ GHOST_WindowWayland::GHOST_WindowWayland(GHOST_SystemWayland *system,
   wl_surface_commit(w->surface);
   wl_display_roundtrip(m_system->display());
 
+  setState(state);
+
   setTitle(title);
 
   /* EGL context. */



More information about the Bf-blender-cvs mailing list