Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-06-27 10:29:57 +0300
committerCampbell Barton <campbell@blender.org>2022-06-27 10:29:57 +0300
commit7b6b740ace1e56a8217fb44ed9fd3cf0c0a324f4 (patch)
tree1cad6b26f7b999ad5f8dafe1002fb397d997f719 /intern
parente1c0d18598546040b2c5f130d720d45d38639910 (diff)
Cleanup: spelling in comments
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/intern/GHOST_SystemWayland.cpp6
-rw-r--r--intern/ghost/intern/GHOST_WindowWayland.cpp6
2 files changed, 6 insertions, 6 deletions
diff --git a/intern/ghost/intern/GHOST_SystemWayland.cpp b/intern/ghost/intern/GHOST_SystemWayland.cpp
index d4bd2c75886..b212b6fc52c 100644
--- a/intern/ghost/intern/GHOST_SystemWayland.cpp
+++ b/intern/ghost/intern/GHOST_SystemWayland.cpp
@@ -1137,7 +1137,7 @@ static void cursor_buffer_handle_release(void *data, struct wl_buffer *wl_buffer
wl_buffer_destroy(wl_buffer);
if (wl_buffer == cursor->wl_buffer) {
- /* the mapped buffer was from a custom cursor */
+ /* The mapped buffer was from a custom cursor. */
cursor->wl_buffer = nullptr;
}
}
@@ -2724,7 +2724,7 @@ GHOST_IWindow *GHOST_SystemWayland::createWindow(const char *title,
const bool is_dialog,
const GHOST_IWindow *parentWindow)
{
- /* globally store pointer to window manager */
+ /* Globally store pointer to window manager. */
if (!window_manager) {
window_manager = getWindowManager();
}
@@ -3219,7 +3219,7 @@ GHOST_TSuccess GHOST_SystemWayland::setCursorGrab(const GHOST_TGrabCursorMode mo
const GHOST_TGrabCursorMode mode_current,
wl_surface *surface)
{
- /* ignore, if the required protocols are not supported */
+ /* Ignore, if the required protocols are not supported. */
if (!d->relative_pointer_manager || !d->pointer_constraints) {
return GHOST_kFailure;
}
diff --git a/intern/ghost/intern/GHOST_WindowWayland.cpp b/intern/ghost/intern/GHOST_WindowWayland.cpp
index acccd168f44..1f358748ee9 100644
--- a/intern/ghost/intern/GHOST_WindowWayland.cpp
+++ b/intern/ghost/intern/GHOST_WindowWayland.cpp
@@ -232,7 +232,7 @@ static void frame_handle_close(struct libdecor_frame * /*frame*/, void *data)
static void frame_handle_commit(struct libdecor_frame * /*frame*/, void *data)
{
- /* we have to swap twice to keep any pop-up menues alive */
+ /* We have to swap twice to keep any pop-up menus alive. */
static_cast<window_t *>(data)->w->swapBuffers();
static_cast<window_t *>(data)->w->swapBuffers();
}
@@ -469,7 +469,7 @@ GHOST_WindowWayland::GHOST_WindowWayland(GHOST_SystemWayland *system,
setOpaque();
#endif
-#ifndef WITH_GHOST_WAYLAND_LIBDECOR /* Causes a glicth with libdecor for some reason. */
+#ifndef WITH_GHOST_WAYLAND_LIBDECOR /* Causes a glitch with `libdecor` for some reason. */
setState(state);
#endif
@@ -480,7 +480,7 @@ GHOST_WindowWayland::GHOST_WindowWayland(GHOST_SystemWayland *system,
GHOST_PRINT("Failed to create EGL context" << std::endl);
}
- /* set swap interval to 0 to prevent blocking */
+ /* Set swap interval to 0 to prevent blocking. */
setSwapInterval(0);
}