mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
cleanup: Fix various typos
Using the typos cli app Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3169>
This commit is contained in:
parent
04f18ae726
commit
cd27cb5c85
12
NEWS
12
NEWS
@ -659,7 +659,7 @@ Translators:
|
||||
* wayland: Make each wl_output correspond to one monitor [Jonas; !1712]
|
||||
* Expose 'inactive-since' timestamp to uresourced [Nishal; !1960]
|
||||
* Pass dirty rects to secondary GPU [Piotr; !1879]
|
||||
* Support commiting preedit string on focus loss [Carlos; !1940]
|
||||
* Support committing preedit string on focus loss [Carlos; !1940]
|
||||
* Improve auto-rotation support [Marco; !1233]
|
||||
* Add meta_window_actor_paint_to_content() [Robert; !1893]
|
||||
* Fixed crashes [Jonas, Ray, Robert; !1947, !1979, !1965, !1958]
|
||||
@ -1068,7 +1068,7 @@ Translators:
|
||||
* Optimize resource scale computation [Jonas D.; !1196, !1276, !1343]
|
||||
* Allow animating ClutterActor's content property [Georges; !1301]
|
||||
* Implement backgrounds as ClutterContent [Georges; !1302]
|
||||
* Add ClutterAlignContraint:pivot-point property [Jonas D.; !737]
|
||||
* Add ClutterAlignConstraint:pivot-point property [Jonas D.; !737]
|
||||
* Fix crash on area screenshots with fractional scaling [Sebastian; !1320]
|
||||
* Do not paint textures of fully obscured windows [Robert; !1326]
|
||||
* Use a more appropriate combine function on opaque areas [Daniel; !1331]
|
||||
@ -3603,7 +3603,7 @@ Translations:
|
||||
wasn't usable from a GNOME Shell extension, so has been changed to take
|
||||
a GSettings object rather than the name of a schema [Jasper; #673014]
|
||||
* Don't try to auto-maximize not-maximizable windows; this fixes the problem
|
||||
with the Nautilus desktop window being mis-positioned when enabled
|
||||
with the Nautilus desktop window being mispositioned when enabled
|
||||
[Owen; #673566]
|
||||
* Fix a crash in the default plugin (not used in GNOME) [Giovanni; #673809]
|
||||
* Make the <Super> key work when set as the mouse button modifier
|
||||
@ -3718,7 +3718,7 @@ Translations:
|
||||
* Handle changes to workspaces-only-on-primary GSetting [Florian; #664853]
|
||||
* Don't use the Clutter default stage [Jasper; #664028]
|
||||
* Fix compilation with --disable-introspection [Lionel; #661871]
|
||||
* Fix problem where stage could end up mis-sized on startup with
|
||||
* Fix problem where stage could end up missized on startup with
|
||||
multiple monitors [Lionel]
|
||||
* Misc bug fixes [Adel, Lionel, Jasper; #666015]
|
||||
|
||||
@ -4045,7 +4045,7 @@ Translations:
|
||||
meta_window_get_monitor()
|
||||
MetaWindow::window-entered-monitor, <etaWindow::window-left-monitor
|
||||
meta_window_move_to_monitor() [Florian]
|
||||
* Behavior improvemnts for attached modal dialogs:
|
||||
* Behavior improvements for attached modal dialogs:
|
||||
- Allow dragging dragging on the titlebar to move the parent ["Ron"]
|
||||
- Allow resizing [Florian]
|
||||
- Constrain to be on the current monitor [Florian]
|
||||
@ -4814,7 +4814,7 @@ Translations: none
|
||||
Thanks to Thomas Thurman for improvements in this version.
|
||||
|
||||
- Add casts to fix failure to build from source on 64bit hosts (Thomas) (#562106)
|
||||
- Added script to produce annoucements (Thomas)
|
||||
- Added script to produce announcements (Thomas)
|
||||
|
||||
Translations
|
||||
Jorge González (es)
|
||||
|
@ -27,7 +27,7 @@ that on CallyRoot:
|
||||
|
||||
* CallyUtil callbacks these signals are related to key event
|
||||
listeners (key snooper simulation). One of the main CallyUtil
|
||||
responsabilities is managing event (connecting, emitting), so I
|
||||
responsibilities is managing event (connecting, emitting), so I
|
||||
would prefer to not start to add/mix more functionalities here.
|
||||
|
||||
Ideally it would be better to emit all CallyStage methods from
|
||||
@ -56,7 +56,7 @@ Adding -Wshadow option and solving warnings related
|
||||
|
||||
2010-06-14 Alejandro Piñeiro <apinheiro@igalia.com>
|
||||
|
||||
Added dummy padding for future vt expasion
|
||||
Added dummy padding for future vt expansion
|
||||
|
||||
Added dummy padding on the different classes structures, to allow
|
||||
future expansion of virtual methods.
|
||||
@ -393,7 +393,7 @@ Manage properly ATK_STATE_ACTIVE on CallyStage
|
||||
|
||||
* cally/cally-stage.c
|
||||
Added private struct
|
||||
(cally_stage_class_init),(cally_stage_init),(cally_stage_real_initalize):
|
||||
(cally_stage_class_init),(cally_stage_init),(cally_stage_real_initialize):
|
||||
Initialization stuff
|
||||
(cally_stage_activate_cb)
|
||||
(cally_stage_deactivate_cb): new ClutterStage signal callbacks, change
|
||||
@ -975,7 +975,7 @@ Missing cail-rectangle.[ch] files, according 2009-02-23 entry at Changelog
|
||||
|
||||
2009-02-18 Alejandro Pinheiro <apinheiro@igalia.com>
|
||||
|
||||
* configure.ac: added aditional compile flags
|
||||
* configure.ac: added additional compile flags
|
||||
* cail/cail-actor.[ch]: Reimplemented support for AtkAction interface
|
||||
* cail/cail-root.[ch]: code style review
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
||||
* has a key focus managed by the stage. Basically any actor can be focused using
|
||||
* clutter_stage_set_key_focus. So, we will use this approach: all actors are
|
||||
* focusable, and we get the currently focused using clutter_stage_get_key_focus
|
||||
* This affects focus related stateset and some atk_componenet focus methods (like
|
||||
* This affects focus related stateset and some atk_component focus methods (like
|
||||
* grab focus).
|
||||
*
|
||||
* In the same way, we will manage the focus state change management
|
||||
|
@ -35,7 +35,7 @@
|
||||
*
|
||||
* In the old times, it was just ClutterCloneTexture. So, from a a11y POV
|
||||
* CallyCloneTexture was just another image, like ClutterTexture, and if
|
||||
* it was a clone was irrevelant. So on cally-0.8, CallyCloneTexture
|
||||
* it was a clone was irrelevant. So on cally-0.8, CallyCloneTexture
|
||||
* expose a object with role ATK_ROLE_IMAGE. But now, ClutterClone is more
|
||||
* general. You can clone any object, including groups, and made things
|
||||
* like have one text entry, and a clone with different properties in the
|
||||
|
@ -518,7 +518,7 @@ destroy_child_meta (ClutterContainer *container,
|
||||
* @container specific state for @actor.
|
||||
*
|
||||
* Return value: (transfer none): the #ClutterChildMeta for the @actor child
|
||||
* of @container or %NULL if the specifiec actor does not exist or the
|
||||
* of @container or %NULL if the specific actor does not exist or the
|
||||
* container is not configured to provide `ClutterChildMeta`s
|
||||
*/
|
||||
ClutterChildMeta *
|
||||
|
@ -150,7 +150,7 @@
|
||||
* static void
|
||||
* my_effect_class_init (MyEffectClass *klass)
|
||||
* {
|
||||
* ClutterActorMetaClas *meta_class = CLUTTER_ACTOR_META_CLASS (klass);
|
||||
* ClutterActorMetaClass *meta_class = CLUTTER_ACTOR_META_CLASS (klass);
|
||||
*
|
||||
* meta_class->set_actor = my_effect_set_actor;
|
||||
*
|
||||
|
@ -1246,7 +1246,7 @@ typedef enum
|
||||
* @CLUTTER_COLORSPACE_SRGB: Default sRGB colorspace
|
||||
* @CLUTTER_COLORSPACE_BT2020: BT2020 colorspace
|
||||
*
|
||||
* Colorspace informations.
|
||||
* Colorspace information.
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
|
@ -52,7 +52,7 @@ struct _ClutterInputDevice
|
||||
{
|
||||
GObject parent_instance;
|
||||
|
||||
/* Accessiblity */
|
||||
/* Accessibility */
|
||||
ClutterVirtualInputDevice *accessibility_virtual_device;
|
||||
ClutterPtrA11yData *ptr_a11y_data;
|
||||
};
|
||||
|
@ -289,7 +289,7 @@ _clutter_threads_dispatch_free (gpointer data)
|
||||
* range between #G_PRIORITY_DEFAULT_IDLE and #G_PRIORITY_HIGH_IDLE
|
||||
* @func: function to call
|
||||
* @data: data to pass to the function
|
||||
* @notify: functio to call when the idle source is removed
|
||||
* @notify: function to call when the idle source is removed
|
||||
*
|
||||
* Adds a function to be called whenever there are no higher priority
|
||||
* events pending. If the function returns %FALSE it is automatically
|
||||
|
@ -1586,7 +1586,7 @@ clutter_layer_node_new (const graphene_matrix_t *projection,
|
||||
* @framebuffer. It will then use @pipeline to paint the stored
|
||||
* operations.
|
||||
*
|
||||
* When using this constructor, the caller is reponsible for setting
|
||||
* When using this constructor, the caller is responsible for setting
|
||||
* up @framebuffer, including its modelview and projection matrices,
|
||||
* and the viewport, and the @pipeline as well.
|
||||
*
|
||||
|
@ -715,7 +715,7 @@ construct_each_objects (gpointer key,
|
||||
/* we have unfinished business */
|
||||
if (oinfo->has_unresolved)
|
||||
{
|
||||
/* this should not happen, but resilence is
|
||||
/* this should not happen, but resilience is
|
||||
* a good thing in a parser
|
||||
*/
|
||||
if (oinfo->object == NULL)
|
||||
|
@ -171,7 +171,7 @@ clutter_seat_class_init (ClutterSeatClass *klass)
|
||||
*
|
||||
* The signal is emitted each time either the
|
||||
* latched modifiers mask or locked modifiers mask are changed as the
|
||||
* result of keyboard accessibilty's sticky keys operations.
|
||||
* result of keyboard accessibility's sticky keys operations.
|
||||
*/
|
||||
signals[KBD_A11Y_MASK_CHANGED] =
|
||||
g_signal_new (I_("kbd-a11y-mods-state-changed"),
|
||||
|
@ -4215,7 +4215,7 @@ setup_implicit_grab (PointerDeviceEntry *entry)
|
||||
}
|
||||
|
||||
CLUTTER_NOTE (GRABS,
|
||||
"[device=%p sequence=%p] Aquiring implicit grab",
|
||||
"[device=%p sequence=%p] Acquiring implicit grab",
|
||||
entry->device, entry->sequence);
|
||||
|
||||
g_assert (entry->press_count == 0);
|
||||
|
@ -141,7 +141,7 @@ units_em_to_pixels (const gchar *font_name,
|
||||
* @units: (out caller-allocates): a #ClutterUnits
|
||||
* @mm: millimeters
|
||||
*
|
||||
* Stores a value in millimiters inside @units
|
||||
* Stores a value in millimeters inside @units
|
||||
*/
|
||||
void
|
||||
clutter_units_from_mm (ClutterUnits *units,
|
||||
|
@ -109,7 +109,7 @@ _cogl_boxed_value_equal (const CoglBoxedValue *bva,
|
||||
}
|
||||
|
||||
static void
|
||||
_cogl_boxed_value_tranpose (float *dst,
|
||||
_cogl_boxed_value_transpose (float *dst,
|
||||
int size,
|
||||
const float *src)
|
||||
{
|
||||
@ -141,7 +141,7 @@ _cogl_boxed_value_set_x (CoglBoxedValue *bv,
|
||||
g_free (bv->v.array);
|
||||
|
||||
if (transpose)
|
||||
_cogl_boxed_value_tranpose (bv->v.float_value,
|
||||
_cogl_boxed_value_transpose (bv->v.float_value,
|
||||
size,
|
||||
value);
|
||||
else
|
||||
@ -167,7 +167,7 @@ _cogl_boxed_value_set_x (CoglBoxedValue *bv,
|
||||
int value_num;
|
||||
|
||||
for (value_num = 0; value_num < count; value_num++)
|
||||
_cogl_boxed_value_tranpose (bv->v.float_array +
|
||||
_cogl_boxed_value_transpose (bv->v.float_array +
|
||||
value_num * size * size,
|
||||
size,
|
||||
(const float *) value +
|
||||
|
@ -335,7 +335,7 @@ _cogl_buffer_unmap_for_fill_or_fallback (CoglBuffer *buffer)
|
||||
*
|
||||
* If we find this is a problem for real world applications
|
||||
* then in the path tessellation case we could potentially add an
|
||||
* explicit cogl_path_tesselate_stroke() api that can throw an
|
||||
* explicit cogl_path_tessellate_stroke() api that can throw an
|
||||
* error for the app to cache. For the journal we could
|
||||
* potentially flush the journal in smaller batches so we use
|
||||
* smaller buffers, though that would probably not help for
|
||||
|
@ -86,10 +86,10 @@
|
||||
#define N_POS_COMPONENTS POS_STRIDE
|
||||
#define COLOR_STRIDE 1 /* number of 32bit words */
|
||||
#define TEX_STRIDE 2 /* number of 32bit words */
|
||||
#define MIN_LAYER_PADING 2
|
||||
#define MIN_LAYER_PADDING 2
|
||||
#define GET_JOURNAL_VB_STRIDE_FOR_N_LAYERS(N_LAYERS) \
|
||||
(POS_STRIDE + COLOR_STRIDE + \
|
||||
TEX_STRIDE * (N_LAYERS < MIN_LAYER_PADING ? MIN_LAYER_PADING : N_LAYERS))
|
||||
TEX_STRIDE * (N_LAYERS < MIN_LAYER_PADDING ? MIN_LAYER_PADDING : N_LAYERS))
|
||||
|
||||
/* If a batch is longer than this threshold then we'll assume it's not
|
||||
worth doing software clipping and it's cheaper to program the GPU
|
||||
@ -664,8 +664,8 @@ compare_entry_strides (CoglJournalEntry *entry0, CoglJournalEntry *entry1)
|
||||
/* TODO: We should be padding the n_layers == 1 case as if it were
|
||||
* n_layers == 2 so we can reduce the need to split batches. */
|
||||
if (entry0->n_layers == entry1->n_layers ||
|
||||
(entry0->n_layers <= MIN_LAYER_PADING &&
|
||||
entry1->n_layers <= MIN_LAYER_PADING))
|
||||
(entry0->n_layers <= MIN_LAYER_PADDING &&
|
||||
entry1->n_layers <= MIN_LAYER_PADDING))
|
||||
return TRUE;
|
||||
else
|
||||
return FALSE;
|
||||
|
@ -53,7 +53,7 @@ _cogl_pipeline_cache_free (CoglPipelineCache *cache);
|
||||
* Gets a pipeline from the cache that has the same state as
|
||||
* @key_pipeline for the state in
|
||||
* COGL_PIPELINE_STATE_AFFECTS_FRAGMENT_CODEGEN. If there is no
|
||||
* matching pipline already then a copy of key_pipeline is stored in
|
||||
* matching pipeline already then a copy of key_pipeline is stored in
|
||||
* the cache so that it will be used next time the function is called
|
||||
* with a similar pipeline. In that case the copy itself will be
|
||||
* returned
|
||||
@ -66,7 +66,7 @@ _cogl_pipeline_cache_get_fragment_template (CoglPipelineCache *cache,
|
||||
* Gets a pipeline from the cache that has the same state as
|
||||
* @key_pipeline for the state in
|
||||
* COGL_PIPELINE_STATE_AFFECTS_VERTEX_CODEGEN. If there is no
|
||||
* matching pipline already then a copy of key_pipeline is stored in
|
||||
* matching pipeline already then a copy of key_pipeline is stored in
|
||||
* the cache so that it will be used next time the function is called
|
||||
* with a similar pipeline. In that case the copy itself will be
|
||||
* returned
|
||||
@ -80,7 +80,7 @@ _cogl_pipeline_cache_get_vertex_template (CoglPipelineCache *cache,
|
||||
* @key_pipeline for the combination of the state state in
|
||||
* COGL_PIPELINE_STATE_AFFECTS_VERTEX_CODEGEN and
|
||||
* COGL_PIPELINE_STATE_AFFECTS_FRAGMENT_CODEGEN. If there is no
|
||||
* matching pipline already then a copy of key_pipeline is stored in
|
||||
* matching pipeline already then a copy of key_pipeline is stored in
|
||||
* the cache so that it will be used next time the function is called
|
||||
* with a similar pipeline. In that case the copy itself will be
|
||||
* returned
|
||||
|
@ -513,7 +513,7 @@ _cogl_pipeline_layer_compare_differences (CoglPipelineLayer *layer0,
|
||||
/* Algorithm:
|
||||
*
|
||||
* 1) Walk the ancestors of each layer to the root node, adding a
|
||||
* pointer to each ancester node to two linked lists
|
||||
* pointer to each ancestor node to two linked lists
|
||||
*
|
||||
* 2) Compare the lists to find the nodes where they start to
|
||||
* differ marking the common_ancestor node for each list.
|
||||
|
@ -74,7 +74,7 @@ COGL_GTYPE_DEFINE_CLASS (Pipeline, pipeline);
|
||||
* subsequently instantiated pipelines created via the cogl_pipeline_new()
|
||||
* API will initially be a copy of this pipeline.
|
||||
*
|
||||
* The default pipeline is the topmost ancester for all pipelines.
|
||||
* The default pipeline is the topmost ancestor for all pipelines.
|
||||
*/
|
||||
void
|
||||
_cogl_pipeline_init_default_pipeline (void)
|
||||
@ -1889,7 +1889,7 @@ _cogl_pipeline_compare_differences (CoglPipeline *pipeline0,
|
||||
/* Algorithm:
|
||||
*
|
||||
* 1) Walk the ancestors of each pipeline to the root node, adding a
|
||||
* pointer to each ancester node to two linked lists
|
||||
* pointer to each ancestor node to two linked lists
|
||||
*
|
||||
* 2) Compare the lists to find the nodes where they start to
|
||||
* differ marking the common_ancestor node for each list.
|
||||
|
@ -149,7 +149,7 @@ struct _CoglTextureVtable
|
||||
gboolean value);
|
||||
};
|
||||
|
||||
typedef enum _CoglTextureSoureType {
|
||||
typedef enum _CoglTextureSourceType {
|
||||
COGL_TEXTURE_SOURCE_TYPE_SIZE = 1,
|
||||
COGL_TEXTURE_SOURCE_TYPE_BITMAP,
|
||||
COGL_TEXTURE_SOURCE_TYPE_EGL_IMAGE,
|
||||
|
@ -222,7 +222,7 @@ cogl_texture_set_premultiplied (CoglTexture *texture,
|
||||
* green and blue components for the given @texture as set by
|
||||
* cogl_texture_set_premultiplied().
|
||||
*
|
||||
* By default the pre-multipled state is @TRUE.
|
||||
* By default the pre-multiplied state is @TRUE.
|
||||
*
|
||||
* Return value: %TRUE if red, green and blue components are
|
||||
* internally stored pre-multiplied by the alpha
|
||||
|
@ -285,7 +285,7 @@ cogl_shader_source (CoglHandle shader,
|
||||
* Retrieves the type of a shader #CoglHandle
|
||||
*
|
||||
* Return value: %COGL_SHADER_TYPE_VERTEX if the shader is a vertex processor
|
||||
* or %COGL_SHADER_TYPE_FRAGMENT if the shader is a frament processor
|
||||
* or %COGL_SHADER_TYPE_FRAGMENT if the shader is a fragment processor
|
||||
* Deprecated: 1.16: Use #CoglSnippet api
|
||||
*/
|
||||
COGL_DEPRECATED_FOR (cogl_snippet_)
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) 2011,2013 Intel Corporation.
|
||||
* Copyrigth (C) 2020 Red Hat
|
||||
* Copyright (C) 2020 Red Hat
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person
|
||||
* obtaining a copy of this software and associated documentation
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) 2011,2013 Intel Corporation.
|
||||
* Copyrigth (C) 2020 Red Hat
|
||||
* Copyright (C) 2020 Red Hat
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person
|
||||
* obtaining a copy of this software and associated documentation
|
||||
|
@ -698,7 +698,7 @@ check_barrier (MetaInputCaptureSession *session,
|
||||
meta_dbus_session_manager_get_backend (session->session_manager);
|
||||
MetaMonitorManager *monitor_manager =
|
||||
meta_backend_get_monitor_manager (backend);
|
||||
gboolean has_adjecent_monitor = FALSE;
|
||||
gboolean has_adjacent_monitor = FALSE;
|
||||
GList *logical_monitors;
|
||||
GList *l;
|
||||
|
||||
@ -731,13 +731,13 @@ check_barrier (MetaInputCaptureSession *session,
|
||||
case LINE_ADJACENCY_NONE:
|
||||
break;
|
||||
case LINE_ADJACENCY_CONTAINED:
|
||||
if (has_adjecent_monitor)
|
||||
if (has_adjacent_monitor)
|
||||
{
|
||||
g_set_error (error, G_IO_ERROR, G_IO_ERROR_INVALID_DATA,
|
||||
"Adjecent to multiple monitor edges");
|
||||
"Adjacent to multiple monitor edges");
|
||||
return FALSE;
|
||||
}
|
||||
has_adjecent_monitor = TRUE;
|
||||
has_adjacent_monitor = TRUE;
|
||||
break;
|
||||
case LINE_ADJACENCY_OVERLAP:
|
||||
g_set_error (error, G_IO_ERROR, G_IO_ERROR_INVALID_DATA,
|
||||
@ -750,7 +750,7 @@ check_barrier (MetaInputCaptureSession *session,
|
||||
}
|
||||
}
|
||||
|
||||
return has_adjecent_monitor;
|
||||
return has_adjacent_monitor;
|
||||
}
|
||||
|
||||
static unsigned int
|
||||
|
@ -1158,7 +1158,7 @@ meta_remote_desktop_session_cancel_transfer_requests (MetaRemoteDesktopSession *
|
||||
}
|
||||
|
||||
static gboolean
|
||||
transfer_request_cleanup_timout (gpointer user_data)
|
||||
transfer_request_cleanup_timeout (gpointer user_data)
|
||||
{
|
||||
MetaRemoteDesktopSession *session = user_data;
|
||||
|
||||
@ -1307,7 +1307,7 @@ reset_transfer_cleanup_timeout (MetaRemoteDesktopSession *session)
|
||||
g_clear_handle_id (&session->transfer_request_timeout_id, g_source_remove);
|
||||
session->transfer_request_timeout_id =
|
||||
g_timeout_add (TRANSFER_REQUEST_CLEANUP_TIMEOUT_MS,
|
||||
transfer_request_cleanup_timout,
|
||||
transfer_request_cleanup_timeout,
|
||||
session);
|
||||
}
|
||||
|
||||
|
@ -649,7 +649,7 @@ maybe_add_damaged_regions_metadata (MetaScreenCastStreamSrc *src,
|
||||
{
|
||||
spa_meta_for_each (meta_region, spa_meta_video_damage)
|
||||
{
|
||||
g_warning ("Not enough buffers (%d) to accomodate damaged "
|
||||
g_warning ("Not enough buffers (%d) to accommodate damaged "
|
||||
"regions (%d)", num_buffers_available, n_rectangles);
|
||||
meta_region->region = SPA_REGION (0, 0,
|
||||
priv->video_format.size.width,
|
||||
|
@ -1047,7 +1047,7 @@ realize_cursor_sprite_for_crtc (MetaCursorRenderer *renderer,
|
||||
meta_kms_crtc_get_id (kms_crtc),
|
||||
meta_kms_device_get_path (kms_device));
|
||||
|
||||
COGL_TRACE_BEGIN_SCOPED (CursorRendererNAtiveRealize,
|
||||
COGL_TRACE_BEGIN_SCOPED (CursorRendererNativeRealize,
|
||||
"Cursor Renderer Native (realize for crtc)");
|
||||
if (META_IS_CURSOR_SPRITE_XCURSOR (cursor_sprite))
|
||||
{
|
||||
|
@ -3508,7 +3508,7 @@ set_keyboard_map (GTask *task)
|
||||
* @seat_impl: the #ClutterSeat created by the evdev backend
|
||||
* @keymap: the new keymap
|
||||
*
|
||||
* Instructs @evdev to use the speficied keyboard map. This will cause
|
||||
* Instructs @evdev to use the specified keyboard map. This will cause
|
||||
* the backend to drop the state and create a new one with the new
|
||||
* map. To avoid state being lost, callers should ensure that no key
|
||||
* is pressed when calling this function.
|
||||
|
@ -655,7 +655,7 @@ meta_compositor_switch_workspace (MetaCompositor *compositor,
|
||||
/* 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.
|
||||
* relative position toward the desktop window.
|
||||
*/
|
||||
meta_finish_workspace_switch (compositor);
|
||||
}
|
||||
|
@ -25,7 +25,7 @@
|
||||
* Some pixel formats that are used in the wild are a bit more complex than
|
||||
* just ARGB and all its variants. For example: a component might be put in a
|
||||
* different plane (i.e. at a different place in memory). Another example are
|
||||
* formats that use Y, U, and V components rather than RGB; if we composit them
|
||||
* formats that use Y, U, and V components rather than RGB; if we composite them
|
||||
* onto an RGBA framebuffer, we have to make sure for example that these get
|
||||
* converted to the right color format first (using e.g. a shader).
|
||||
*/
|
||||
|
@ -68,7 +68,7 @@ meta_surface_actor_wayland_is_opaque (MetaSurfaceActor *actor)
|
||||
return meta_shaped_texture_is_opaque (stex);
|
||||
}
|
||||
|
||||
#define UNOBSCURED_TRESHOLD 0.1
|
||||
#define UNOBSCURED_THRESHOLD 0.1
|
||||
|
||||
gboolean
|
||||
meta_surface_actor_wayland_is_view_primary (MetaSurfaceActor *actor,
|
||||
@ -149,10 +149,10 @@ meta_surface_actor_wayland_is_view_primary (MetaSurfaceActor *actor,
|
||||
refresh_rate = clutter_stage_view_get_refresh_rate (view);
|
||||
|
||||
if ((refresh_rate > highest_refresh_rate &&
|
||||
(biggest_unobscurred_fraction < UNOBSCURED_TRESHOLD ||
|
||||
unobscurred_fraction > UNOBSCURED_TRESHOLD)) ||
|
||||
(biggest_unobscurred_fraction < UNOBSCURED_TRESHOLD &&
|
||||
unobscurred_fraction > UNOBSCURED_TRESHOLD))
|
||||
(biggest_unobscurred_fraction < UNOBSCURED_THRESHOLD ||
|
||||
unobscurred_fraction > UNOBSCURED_THRESHOLD)) ||
|
||||
(biggest_unobscurred_fraction < UNOBSCURED_THRESHOLD &&
|
||||
unobscurred_fraction > UNOBSCURED_THRESHOLD))
|
||||
{
|
||||
current_primary_view = view;
|
||||
highest_refresh_rate = refresh_rate;
|
||||
|
@ -344,7 +344,7 @@ meta_context_real_configure (MetaContext *context,
|
||||
* @error: a return location for errors
|
||||
*
|
||||
* Returns: %TRUE if the commandline arguments (if any) were valid and if the
|
||||
* configuration has been successfull, %FALSE otherwise
|
||||
* configuration has been successful, %FALSE otherwise
|
||||
*/
|
||||
gboolean
|
||||
meta_context_configure (MetaContext *context,
|
||||
|
@ -1649,7 +1649,7 @@ meta_preference_to_string (MetaPreference pref)
|
||||
return "VISUAL_BELL_TYPE";
|
||||
|
||||
case META_PREF_GNOME_ACCESSIBILITY:
|
||||
return "GNOME_ACCESSIBILTY";
|
||||
return "GNOME_ACCESSIBILITY";
|
||||
|
||||
case META_PREF_GNOME_ANIMATIONS:
|
||||
return "GNOME_ANIMATIONS";
|
||||
|
@ -50,7 +50,7 @@
|
||||
* To update or initialize reference images for tests, set the
|
||||
* MUTTER_REF_TEST_UPDATE environment variable.
|
||||
*
|
||||
* The MUTTER_REF_TEST_UPDATE is interpreted as a comma seperated list of
|
||||
* The MUTTER_REF_TEST_UPDATE is interpreted as a comma separated list of
|
||||
* regular expressions. If the test path matches any of the regular
|
||||
* expressions, the test reference image will be updated, unless the
|
||||
* existing reference image is pixel identical to the newly created one.
|
||||
|
@ -244,7 +244,7 @@ on_sync_event (WaylandDisplay *display,
|
||||
{
|
||||
g_assert (serial == 0);
|
||||
|
||||
/* Sync event 0 is sent when the popup window actor is destryed;
|
||||
/* Sync event 0 is sent when the popup window actor is destroyed;
|
||||
* prepare for opening a popup for the same wl_surface.
|
||||
*/
|
||||
wl_surface_attach (popup_surface, NULL, 0, 0);
|
||||
|
@ -795,7 +795,7 @@ meta_wayland_keyboard_set_focus (MetaWaylandKeyboard *keyboard,
|
||||
&keyboard->resource_list,
|
||||
wl_resource_get_client (focus_surface_resource));
|
||||
|
||||
/* Make sure a11y masks are applied before braodcasting modifiers */
|
||||
/* Make sure a11y masks are applied before broadcasting modifiers */
|
||||
kbd_a11y_apply_mask (keyboard);
|
||||
|
||||
if (!wl_list_empty (&keyboard->focus_resource_list))
|
||||
|
@ -550,7 +550,7 @@ save_yourself_callback (SmcConn smc_conn,
|
||||
|
||||
/* ignore Global style saves
|
||||
*
|
||||
* This interpretaion of the Local/Global/Both styles
|
||||
* This interpretation of the Local/Global/Both styles
|
||||
* was discussed extensively on the xdg-list. See:
|
||||
*
|
||||
* https://listman.redhat.com/pipermail/xdg-list/2002-July/000615.html
|
||||
|
@ -6,7 +6,7 @@
|
||||
* A system which can inspect sets of properties of given windows
|
||||
* and take appropriate action given their values.
|
||||
*
|
||||
* Note that all the meta_window_reload_propert* functions require a
|
||||
* Note that all the meta_window_reload_property* functions require a
|
||||
* round trip to the server.
|
||||
*
|
||||
* The guts of this system are in meta_display_init_window_prop_hooks().
|
||||
@ -1894,7 +1894,7 @@ RELOAD_STRING (gtk_menubar_object_path, "gtk-menubar-object-path")
|
||||
|
||||
/**
|
||||
* meta_x11_display_init_window_prop_hooks:
|
||||
* @x11_display: The #MetaDX11isplay
|
||||
* @x11_display: The #MetaX11Display
|
||||
*
|
||||
* Initialises the property hooks system. Each row in the table named "hooks"
|
||||
* represents an action to take when a property is found on a newly-created
|
||||
|
@ -6,7 +6,7 @@
|
||||
* A system which can inspect sets of properties of given windows
|
||||
* and take appropriate action given their values.
|
||||
*
|
||||
* Note that all the meta_window_reload_propert* functions require a
|
||||
* Note that all the meta_window_reload_property* functions require a
|
||||
* round trip to the server.
|
||||
*/
|
||||
|
||||
@ -61,7 +61,7 @@ void meta_window_load_initial_properties (MetaWindow *window);
|
||||
* meta_x11_display_init_window_prop_hooks:
|
||||
* @x11_display: The X11 display.
|
||||
*
|
||||
* Initialises the hooks used for the reload_propert* functions
|
||||
* Initialises the hooks used for the reload_property* functions
|
||||
* on a particular display, and stores a pointer to them in the
|
||||
* x11_display.
|
||||
*/
|
||||
@ -70,7 +70,7 @@ void meta_x11_display_init_window_prop_hooks (MetaX11Display *x11_display);
|
||||
/**
|
||||
* meta_x11_display_free_window_prop_hooks:
|
||||
* @x11_display: The X11 display.
|
||||
* Frees the hooks used for the reload_propert* functions
|
||||
* Frees the hooks used for the reload_property* functions
|
||||
* for a particular display.
|
||||
*/
|
||||
void meta_x11_display_free_window_prop_hooks (MetaX11Display *x11_display);
|
||||
|
Loading…
Reference in New Issue
Block a user