From be37f9a564f23e562b990394a12620297c7ce378 Mon Sep 17 00:00:00 2001 From: Hiroaki Yamamoto Date: Fri, 8 Mar 2024 21:59:20 +0900 Subject: [PATCH] Fix various typos across the codebase --- NEWS.md | 26 +++++++++++++------------- README.md | 2 +- docs/environment | 2 +- docs/labwc-config.5.scd | 2 +- docs/labwc.1.scd | 2 +- docs/rc.xml.all | 2 +- include/button/common.h | 2 +- include/common/spawn.h | 2 +- include/config/session.h | 4 ++-- include/input/ime.h | 2 +- include/labwc.h | 2 +- include/view.h | 2 +- src/edges.c | 6 +++--- src/interactive.c | 2 +- src/menu/menu.c | 2 +- src/output-virtual.c | 2 +- src/output.c | 2 +- src/placement.c | 2 +- src/seat.c | 2 +- src/theme.c | 6 +++--- src/xdg.c | 6 +++--- 21 files changed, 40 insertions(+), 40 deletions(-) diff --git a/NEWS.md b/NEWS.md index dbafc05f..ac08d0d7 100644 --- a/NEWS.md +++ b/NEWS.md @@ -177,7 +177,7 @@ The format is based on [Keep a Changelog] user-defined region), the snapped state is now discarded as soon as the dragging begins. This means that dragging from a snapped position to a maximized state (with the `topMaximize` option enabled) and then - un-maxmimizing the window will restore the window to its size and position + un-maximizing the window will restore the window to its size and position *before* it was snapped. In previous releases, un-maximizing would restore the window to its snapped state. To preserve the snapped state of a window when maximized, use the Maximize window button or the `ToggleMaximize` @@ -192,7 +192,7 @@ The format is based on [Keep a Changelog] ``` -- Run menu actions on button release intead of press. +- Run menu actions on button release instead of press. - Constrain window size to that of usable area when an application is started. Issue #1399 - Support showing the full `app_id` in the window switcher. Users with a custom @@ -231,7 +231,7 @@ Should bug fixes be required against `0.6.6` (built with wlroots `0.16`), a for it in the client-menu under the Workspaces submenu. Written-by: @bnason - Account for space taken up by XWayland clients with `_NET_WM_STRUT_PARTIAL` property in the `usable_area` calculation. This increases inter-operability - with X11 desktop componenets. + with X11 desktop components. - Set XWayland's `_NET_WORKAREA` property based on usable area. XWayland clients use the `_NET_WORKAREA` root window property to determine how much of the screen is not covered by panels/docks. The property is used for example @@ -297,7 +297,7 @@ relating to surface focus and keyboard issues, amongst others. - Do not reset XWayland window SSD on unminimize - Keep XWayland stacking order in sync when switching workspaces -- Update top-layer visiblity on workspace-switch in order to show +- Update top-layer visibility on workspace-switch in order to show top-layer layer-shell clients correctly when there is a window in fullscreen mode on another workspace. Issues: #1040 #1158 - Make interactive window snapping with mouse more intuitive in @@ -433,7 +433,7 @@ relating to surface focus and keyboard issues, amongst others. - xwayland: fix client request-unmap bug relating to foreign-toplevel handle - xwayland: fix race condition resulting in map view without surface - Limit SSD corner radius to the height of the titlebar -- Fix rounded-corner bug producing weird artefacts when very large border +- Fix rounded-corner bug producing weird artifacts when very large border thickness is used. Fixes #988 - Ensure `string_prop()` handlers deal with destroying views. Fixes #1082 - Fix SSD thickness calculation bug relating to titlebar. Fixes #1083 @@ -463,7 +463,7 @@ relating to surface focus and keyboard issues, amongst others. - Add support for `ext_idle_notify` protocol. - Window-switcher: #879 #969 - - Set item-height based on font-heigth + - Set item-height based on font-height - Add theme option: - osd.window-switcher.width - osd.window-switcher.padding @@ -674,7 +674,7 @@ particular thanks going to @Consolatis, @jlindgren90, @bi4k8, @Flrian and - Prevent re-focus for always-on-top views when switching workspaces. Written-by: @Consolatis - Make sure a default libinput category always exists to avoid devices not - being configured is some insances. Written-by: @jlindgren90 + being configured is some instances. Written-by: @jlindgren90 - Update cursor if it is within the OSD area when OSD appears/disappears. Written-by: @bi4k8 - Provide generic parsing of XML action arguments to enable the use of the @@ -741,7 +741,7 @@ reported, tested and fixed issues. Particular mentions go to @bi4k8, of outlines. Written-by: @Flrian - Render submenu arrows - Allow highest level menu definitions - typically used for root-menu and - client-menu - to be defined without label attritube, for example like this: + client-menu - to be defined without label attribute, for example like this: `...`. Issue #472 - Allow xdg-desktop-portal-wlr to work out of the box by initializing dbus and systemd activation environment. This enables for example OBS Studio @@ -784,7 +784,7 @@ reported, tested and fixed issues. Particular mentions go to @bi4k8, - Enable tap be default on non-touch devices (which some laptop trackpads apparently are) - Handle missing cursor theme (issue #246). Written-by: @Consolatis -- Fix various surface syncronization, stacking, positioning and focus +- Fix various surface synchronization, stacking, positioning and focus issues, including those related to both xwayland, scroll/drag events and also #526 #483 - On first map, do not center xwayland views with explicitly specified @@ -806,7 +806,7 @@ reported, tested and fixed issues. Particular mentions go to @bi4k8, focused view. - Gracefully handle dying client during interactive move. Written-by: @Consolatis -- Dynamically adjust server-side-deccoration invisible resize areas based +- Dynamically adjust server-side-decoration invisible resize areas based on `usable_area` to ensure that cursor events are sent to clients such as panels in preference to grabbing window edges. Fixes #265. Written-by: @Consolatis @@ -828,7 +828,7 @@ reported, tested and fixed issues. Particular mentions go to @bi4k8, unmaximized geometry is known when started in maximized mode. Fixes issue #305. Reported-by: @01micko - Support `` - `` is a deprecated name for ``, but is supported for + `` is a deprecated name for ``, but is supported for backward compatibility with old menu-generators. - Keep xwayland-shell SSD state on unmap/map cycle. Written-by: @Consolatis @@ -875,7 +875,7 @@ reported, tested and fixed issues. Particular mentions go to @bi4k8, - Call foreign-toplevel-destroy when unmapping xwayland surfaces because some xwayland clients leave unmapped child views around. Although `handle_destroy()` is not called for these, we have to call - foreign-toplevel-destroy to avoid clients such as panels incorrecly + foreign-toplevel-destroy to avoid clients such as panels incorrectly showing them. - Handle xwayland `set_override_redirect` events to fix weird behaviour with gitk menus and rofi. @@ -883,7 +883,7 @@ reported, tested and fixed issues. Particular mentions go to @bi4k8, Fixes #352 relating to JetBrains and Intellij focus issues Written-by: Jelle De Loecker - Do not segfault on missing drag icon. Written-by: @Consolatis -- Fix windows irratically sticking to edges during move/resize. +- Fix windows erratically sticking to edges during move/resize. Fixes issues #331 and #309 ## [0.5.2] - 2022-05-17 diff --git a/README.md b/README.md index 10339da7..997d3438 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ modification. Openbox spec is somewhat of a stable standard considering how long it has remained unchanged for and how wide-spread its adoption is by lightweight -distributions such as LXDE, LXQt, BunsenLabs, ArchLabs, Mabox and Raspian. Some +distributions such as LXDE, LXQt, BunsenLabs, ArchLabs, Mabox and Raspbian. Some widely used themes (for example Numix and Arc) have built-in support. We could have invented a whole new syntax, but that's not where we want to diff --git a/docs/environment b/docs/environment index be1fd29b..ad574bd9 100644 --- a/docs/environment +++ b/docs/environment @@ -61,7 +61,7 @@ ## ## This allows xdg-desktop-portal-wlr to function (e.g. for screen-recording). ## It is automatically set to "wlroots" by labwc though, so it is only -## includeded here for completeness. Again, labwc will not over-write an +## included here for completeness. Again, labwc will not over-write an ## already set environment variable, so if you need it set to something else, ## then uncomment and adjust. ## diff --git a/docs/labwc-config.5.scd b/docs/labwc-config.5.scd index 7be9d3e7..4162af03 100644 --- a/docs/labwc-config.5.scd +++ b/docs/labwc-config.5.scd @@ -355,7 +355,7 @@ extending outward from the snapped edge. ** Specify the number of pixels to reserve at the edges of an output - (typically a dislay/screen/monitor). New, maximized and tiled windows + (typically a display/screen/monitor). New, maximized and tiled windows will not be placed in these areas. The use-case for ** is as a workaround for clients such as panels that do NOT support the wlr-layer-shell protocol. diff --git a/docs/labwc.1.scd b/docs/labwc.1.scd index 91302bc0..0d096207 100644 --- a/docs/labwc.1.scd +++ b/docs/labwc.1.scd @@ -64,7 +64,7 @@ the `--exit` and `--reconfigure` options use. # SESSION MANAGEMENT -To enable the use of graphical clients launched via D-Bus or systemd servie +To enable the use of graphical clients launched via D-Bus or systemd service activation, labwc can update both activation environments on launch. Provided that labwc is aware of an active D-Bus user session (*i.e.*, the environment variable `DBUS_SESSION_BUS_ADDRESS` is defined), the compositor will invoke the diff --git a/docs/rc.xml.all b/docs/rc.xml.all index 902f88c5..3b207653 100644 --- a/docs/rc.xml.all +++ b/docs/rc.xml.all @@ -423,7 +423,7 @@