mirror of
https://github.com/brl/mutter.git
synced 2025-06-24 14:09:25 +00:00
*: Fix spelling mistakes found by codespell
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1410
This commit is contained in:

committed by
Robert Mader

parent
5962ee7939
commit
5ec9bde64f
@ -33,7 +33,7 @@
|
||||
* in visual mode and calls through to bell_visual_notify(). That
|
||||
* function then checks what kind of visual flash you like, and calls either
|
||||
* bell_flash_fullscreen()-- which calls bell_flash_screen() to do
|
||||
* its work-- or bell_flash_frame(), which flashes the focussed window
|
||||
* its work-- or bell_flash_frame(), which flashes the focused window
|
||||
* using bell_flash_window(), unless there is no such window, in
|
||||
* which case it flashes the screen instead.
|
||||
*
|
||||
|
@ -72,7 +72,7 @@ char* meta_rectangle_edge_list_to_string (
|
||||
|
||||
/* Resize old_rect to the given new_width and new_height, but store the
|
||||
* result in rect. NOTE THAT THIS IS RESIZE ONLY SO IT CANNOT BE USED FOR
|
||||
* A MOVERESIZE OPERATION (that simplies the routine a little bit as it
|
||||
* A MOVERESIZE OPERATION (that simplifies the routine a little bit as it
|
||||
* means there's no difference between META_GRAVITY_NORTH_WEST and
|
||||
* META_GRAVITY_STATIC. Also, I lied a little bit--technically, you could use
|
||||
* it in a MoveResize operation if you muck with old_rect just right).
|
||||
@ -119,7 +119,7 @@ GList* meta_rectangle_expand_region_conditionally (
|
||||
const int min_y);
|
||||
|
||||
/* Expand rect in direction to the size of expand_to, and then clip out any
|
||||
* overlapping struts oriented orthognal to the expansion direction. (Think
|
||||
* overlapping struts oriented orthogonal to the expansion direction. (Think
|
||||
* horizontal or vertical maximization)
|
||||
*/
|
||||
META_EXPORT_TEST
|
||||
|
@ -681,7 +681,7 @@ get_size_limits (MetaWindow *window,
|
||||
MetaRectangle *min_size,
|
||||
MetaRectangle *max_size)
|
||||
{
|
||||
/* We pack the results into MetaRectangle structs just for convienience; we
|
||||
/* We pack the results into MetaRectangle structs just for convenience; we
|
||||
* don't actually use the position of those rects.
|
||||
*/
|
||||
min_size->x = min_size->y = max_size->x = max_size->y = 0;
|
||||
|
@ -1546,7 +1546,7 @@ meta_display_lookup_stack_id (MetaDisplay *display,
|
||||
}
|
||||
|
||||
/* We return a pointer into a ring of static buffers. This is to make
|
||||
* using this function for debug-logging convenient and avoid tempory
|
||||
* using this function for debug-logging convenient and avoid temporary
|
||||
* strings that must be freed. */
|
||||
const char *
|
||||
meta_display_describe_stack_id (MetaDisplay *display,
|
||||
@ -2215,7 +2215,7 @@ meta_display_ping_window (MetaWindow *window,
|
||||
/**
|
||||
* meta_display_pong_for_serial:
|
||||
* @display: the display we got the pong from
|
||||
* @serial: the serial in the pong repsonse
|
||||
* @serial: the serial in the pong response
|
||||
*
|
||||
* Process the pong (the response message) from the ping we sent
|
||||
* to the window. This involves removing the timeout, calling the
|
||||
@ -2371,7 +2371,7 @@ mru_cmp (gconstpointer a,
|
||||
*
|
||||
* Determine the list of windows that should be displayed for Alt-TAB
|
||||
* functionality. The windows are returned in most recently used order.
|
||||
* If @workspace is not %NULL, the list only conains windows that are on
|
||||
* If @workspace is not %NULL, the list only contains windows that are on
|
||||
* @workspace or have the demands-attention hint set; otherwise it contains
|
||||
* all windows.
|
||||
*
|
||||
|
@ -1049,7 +1049,7 @@ meta_display_add_keybinding (MetaDisplay *display,
|
||||
* Remove keybinding @name; the function will fail if @name is not a known
|
||||
* keybinding or has not been added with meta_display_add_keybinding().
|
||||
*
|
||||
* Returns: %TRUE if the binding has been removed sucessfully,
|
||||
* Returns: %TRUE if the binding has been removed successfully,
|
||||
* otherwise %FALSE
|
||||
*/
|
||||
gboolean
|
||||
|
@ -238,7 +238,7 @@ meta_workspace_manager_new (MetaDisplay *display)
|
||||
|
||||
/* This is the default layout extracted from default
|
||||
* variable values in update_num_workspaces ()
|
||||
* This can be overriden using _NET_DESKTOP_LAYOUT in
|
||||
* This can be overridden using _NET_DESKTOP_LAYOUT in
|
||||
* meta_x11_display_new (), if it's specified */
|
||||
meta_workspace_manager_update_workspace_layout (workspace_manager,
|
||||
META_DISPLAY_TOPLEFT,
|
||||
@ -497,7 +497,7 @@ meta_workspace_manager_update_num_workspaces (MetaWorkspaceManager *workspace_ma
|
||||
* @new_index: the new index of the passed workspace
|
||||
*
|
||||
* Reorder a workspace to a new index. If the workspace is currently active
|
||||
* the "active-workspace-changed" signal will be emited.
|
||||
* the "active-workspace-changed" signal will be emitted.
|
||||
* If the workspace's index is the same as @new_index or the workspace
|
||||
* will not be found in the list, this function will return.
|
||||
*
|
||||
|
@ -728,7 +728,7 @@ ensure_above (MetaWindow *above,
|
||||
if (is_transient && above->layer < below->layer)
|
||||
{
|
||||
meta_topic (META_DEBUG_STACK,
|
||||
"Promoting window %s from layer %u to %u due to contraint\n",
|
||||
"Promoting window %s from layer %u to %u due to constraint\n",
|
||||
above->desc, above->layer, below->layer);
|
||||
above->layer = below->layer;
|
||||
}
|
||||
|
@ -5361,7 +5361,7 @@ meta_window_set_focused_internal (MetaWindow *window,
|
||||
* will be provided set by the task bar or other user interface element
|
||||
* displaying the icon, and is relative to the root window.
|
||||
*
|
||||
* Return value: %TRUE if the icon geometry was succesfully retrieved.
|
||||
* Return value: %TRUE if the icon geometry was successfully retrieved.
|
||||
*/
|
||||
gboolean
|
||||
meta_window_get_icon_geometry (MetaWindow *window,
|
||||
|
@ -173,7 +173,7 @@ meta_workspace_get_property (GObject *object,
|
||||
case PROP_N_WINDOWS:
|
||||
/*
|
||||
* This is reliable, but not very efficient; should we store
|
||||
* the list lenth ?
|
||||
* the list length ?
|
||||
*/
|
||||
g_value_set_uint (value, g_list_length (ws->windows));
|
||||
break;
|
||||
@ -1207,7 +1207,7 @@ meta_motion_direction_to_string (MetaMotionDirection direction)
|
||||
* @workspace: a #MetaWorkspace
|
||||
* @direction: a #MetaMotionDirection, relative to @workspace
|
||||
*
|
||||
* Calculate and retrive the workspace that is next to @workspace,
|
||||
* Calculate and retrieve the workspace that is next to @workspace,
|
||||
* according to @direction and the current workspace layout, as set
|
||||
* by meta_screen_override_workspace_layout().
|
||||
*
|
||||
|
Reference in New Issue
Block a user