diff options
author | Björn Daase <bjoern@daase.net> | 2020-08-26 11:49:50 +0200 |
---|---|---|
committer | Robert Mader <robert.mader@posteo.de> | 2020-08-29 09:10:31 +0000 |
commit | 5ec9bde64fbc07e057e78b04c3b0b66a86c07f6e (patch) | |
tree | bb6ff2135560a15d0bfaab7ddf07bef095a217ae /src/compositor | |
parent | 5962ee79390a34e8b550bc6deb21b402182ca11e (diff) | |
download | mutter-5ec9bde64fbc07e057e78b04c3b0b66a86c07f6e.tar.gz |
*: Fix spelling mistakes found by codespell
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1410
Diffstat (limited to 'src/compositor')
-rw-r--r-- | src/compositor/compositor.c | 8 | ||||
-rw-r--r-- | src/compositor/meta-background-image.c | 2 | ||||
-rw-r--r-- | src/compositor/meta-shadow-factory.c | 2 | ||||
-rw-r--r-- | src/compositor/meta-shaped-texture.c | 4 | ||||
-rw-r--r-- | src/compositor/meta-window-actor-x11.c | 2 |
5 files changed, 9 insertions, 9 deletions
diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c index 41a65be39..e5fc844a4 100644 --- a/src/compositor/compositor.c +++ b/src/compositor/compositor.c @@ -764,7 +764,7 @@ meta_compositor_switch_workspace (MetaCompositor *compositor, { priv->switch_workspace_in_progress--; - /* We have to explicitely call this to fix up stacking order of the + /* We have to explicitly call this to fix up stacking order of the * actors; this is because the abs stacking position of actors does not * necessarily change during the window hiding/unhiding, only their * relative position toward the destkop window. @@ -1057,7 +1057,7 @@ on_presented (ClutterStage *stage, * clock_gettime(CLOCK_MONOTONIC), so the same as g_get_monotonic_time), * but there's no exposure of that through the API. clock_gettime() * is fairly fast, so calling it twice and subtracting to get a - * nearly-zero number is acceptable, if a litle ugly. + * nearly-zero number is acceptable, if a little ugly. */ current_cogl_time = cogl_get_clock_time (priv->context); current_monotonic_time = g_get_monotonic_time (); @@ -1318,8 +1318,8 @@ meta_compositor_class_init (MetaCompositorClass *klass) * meta_disable_unredirect_for_display: * @display: a #MetaDisplay * - * Disables unredirection, can be usefull in situations where having - * unredirected windows is undesireable like when recording a video. + * Disables unredirection, can be useful in situations where having + * unredirected windows is undesirable like when recording a video. * */ void diff --git a/src/compositor/meta-background-image.c b/src/compositor/meta-background-image.c index a29e74380..ed9425bb3 100644 --- a/src/compositor/meta-background-image.c +++ b/src/compositor/meta-background-image.c @@ -222,7 +222,7 @@ out: * * Loads an image to use as a background, or returns a reference to an * image that is already in the process of loading or loaded. In either - * case, what is returned is a #MetaBackgroundImage which can be derefenced + * case, what is returned is a #MetaBackgroundImage which can be dereferenced * to get a #CoglTexture. If meta_background_image_is_loaded() returns %TRUE, * the background is loaded, otherwise the MetaBackgroundImage::loaded * signal will be emitted exactly once. The 'loaded' state means that the diff --git a/src/compositor/meta-shadow-factory.c b/src/compositor/meta-shadow-factory.c index c4228fa37..d6bee655b 100644 --- a/src/compositor/meta-shadow-factory.c +++ b/src/compositor/meta-shadow-factory.c @@ -19,7 +19,7 @@ /** * SECTION:meta-shadow-factory * @title: MetaShadowFactory - * @short_description: Create and cache shadow textures for abritrary window shapes + * @short_description: Create and cache shadow textures for arbitrary window shapes */ #include "config.h" diff --git a/src/compositor/meta-shaped-texture.c b/src/compositor/meta-shaped-texture.c index 2d7facaa0..9eeb08146 100644 --- a/src/compositor/meta-shaped-texture.c +++ b/src/compositor/meta-shaped-texture.c @@ -1515,9 +1515,9 @@ meta_shaped_texture_new (void) * @stex: A #MetaShapedTexture * @buffer_scale: The scale that should be applied to coorsinate space * - * Instructs @stex to intepret the geometry of the input texture by scaling it + * Instructs @stex to interpret the geometry of the input texture by scaling it * with @buffer_scale. This means that the #CoglTexture that is provided by a - * client is alreay scaled by that factor. + * client is already scaled by that factor. */ void meta_shaped_texture_set_buffer_scale (MetaShapedTexture *stex, diff --git a/src/compositor/meta-window-actor-x11.c b/src/compositor/meta-window-actor-x11.c index a1b419bbe..f9577e752 100644 --- a/src/compositor/meta-window-actor-x11.c +++ b/src/compositor/meta-window-actor-x11.c @@ -506,7 +506,7 @@ has_shadow (MetaWindowActorX11 *actor_x11) if (actor_x11->shadow_mode == META_SHADOW_MODE_FORCED_ON) return TRUE; - /* Leaving out shadows for maximized and fullscreen windows is an effeciency + /* Leaving out shadows for maximized and fullscreen windows is an efficiency * win and also prevents the unsightly effect of the shadow of maximized * window appearing on an adjacent window */ if ((meta_window_get_maximized (window) == META_MAXIMIZE_BOTH) || |