[Bf-blender-cvs] [cdd07ddb931] master: Cleanup: move doc-string to header

Campbell Barton noreply at git.blender.org
Wed Jan 4 06:12:46 CET 2023


Commit: cdd07ddb9319b2760c14d08a3788ae423459899e
Author: Campbell Barton
Date:   Wed Jan 4 16:06:42 2023 +1100
Branches: master
https://developer.blender.org/rBcdd07ddb9319b2760c14d08a3788ae423459899e

Cleanup: move doc-string to header

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

M	intern/ghost/intern/GHOST_WindowWayland.cpp
M	intern/ghost/intern/GHOST_WindowWayland.h

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

diff --git a/intern/ghost/intern/GHOST_WindowWayland.cpp b/intern/ghost/intern/GHOST_WindowWayland.cpp
index ffbb8370c46..5957e992436 100644
--- a/intern/ghost/intern/GHOST_WindowWayland.cpp
+++ b/intern/ghost/intern/GHOST_WindowWayland.cpp
@@ -1361,9 +1361,6 @@ GHOST_TSuccess GHOST_WindowWayland::notify_size()
  * Functionality only used for the WAYLAND implementation.
  * \{ */
 
-/**
- * Return true when the windows scale or DPI changes.
- */
 bool GHOST_WindowWayland::outputs_changed_update_scale()
 {
 #ifdef USE_EVENT_BACKGROUND_THREAD
diff --git a/intern/ghost/intern/GHOST_WindowWayland.h b/intern/ghost/intern/GHOST_WindowWayland.h
index 528159a26cb..326c1d5e994 100644
--- a/intern/ghost/intern/GHOST_WindowWayland.h
+++ b/intern/ghost/intern/GHOST_WindowWayland.h
@@ -156,6 +156,9 @@ class GHOST_WindowWayland : public GHOST_Window {
   bool outputs_enter(GWL_Output *output);
   bool outputs_leave(GWL_Output *output);
 
+  /**
+   * Return true when the windows scale or DPI changes.
+   */
   bool outputs_changed_update_scale();
 
 #ifdef USE_EVENT_BACKGROUND_THREAD



More information about the Bf-blender-cvs mailing list