diff options
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_SystemWayland.cpp | 6 | ||||
-rw-r--r-- | intern/ghost/intern/GHOST_WindowWayland.cpp | 6 |
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); } |