Skip to content

Commit 80292f8

Browse files
authored
fix some typos (WayfireWM#1975)
1 parent e00495a commit 80292f8

File tree

14 files changed

+21
-21
lines changed

14 files changed

+21
-21
lines changed

metadata/command.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
</entry>
4747
</option>
4848
<option name="release_bindings" type="dynamic-list" type-hint="dict">
49-
<_short>Realease bindings</_short>
49+
<_short>Release bindings</_short>
5050
<_long>Sets the bindings which activate on release</_long>
5151
<entry prefix="command_" type="string" name="command">
5252
<_short>Command</_short>

metadata/resize.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<option name="activate_preserve_aspect" type="button">
1414
<_short>Activate resize while preserving aspect</_short>
15-
<_long>When the specified button is held down, you can drag a window to resize it while perserving its orignal aspect.</_long>
15+
<_long>When the specified button is held down, you can drag a window to resize it while preserving its original aspect.</_long>
1616
<default>disabled</default>
1717
</option>
1818
</plugin>

plugins/common/wayfire/plugins/common/workspace-wall.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ class workspace_wall_t : public wf::signal::provider_t
335335

336336
our_target.subbuffer = target.framebuffer_box_from_geometry_box(relative_to_viewport);
337337

338-
// Take the damage for the workspace in workspace-local coordindates, as the workspace
338+
// Take the damage for the workspace in workspace-local coordinates, as the workspace
339339
// stream node expects.
340340
wf::region_t our_damage = workspaces_damage & workspace_rect;
341341
workspaces_damage ^= our_damage;

plugins/single_plugins/move.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class wayfire_move : public wf::per_output_plugin_instance_t,
9696
// not by moving the view, but by translating it with a transformer. Therefore, the view geometry
9797
// is still the geometry before the drag.
9898
wf::get_core().default_wm->update_last_windowed_geometry(ev->main_view);
99-
// Artifically continue the grab for a little bit more, so that the last windowed geometry does
99+
// Artificially continue the grab for a little bit more, so that the last windowed geometry does
100100
// not get overwritten.
101101
wf::get_core().default_wm->set_view_grabbed(ev->main_view, true);
102102

plugins/single_plugins/switcher.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ class WayfireSwitcher : public wf::per_output_plugin_instance_t, public wf::keyb
818818
if (bool(count_left) ^ bool(count_right))
819819
{
820820
const int empty_slot = 1 - dir;
821-
fill_emtpy_slot(empty_slot);
821+
fill_empty_slot(empty_slot);
822822
}
823823

824824
rebuild_view_list();
@@ -868,7 +868,7 @@ class WayfireSwitcher : public wf::per_output_plugin_instance_t, public wf::keyb
868868
return nullptr;
869869
}
870870

871-
void fill_emtpy_slot(const int empty_slot)
871+
void fill_empty_slot(const int empty_slot)
872872
{
873873
const int full_slot = 2 - empty_slot;
874874

src/api/wayfire/opengl.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ struct render_target_t : public framebuffer_t
8484
wl_output_transform wl_transform = WL_OUTPUT_TRANSFORM_NORMAL;
8585
// The scale of a framebuffer is a hint at how bigger the actual framebuffer
8686
// is compared to the logical geometry. It is useful for plugins utilizing
87-
// auxilliary buffers in logical coordinates, so that they know they should
87+
// auxiliary buffers in logical coordinates, so that they know they should
8888
// render with higher resolution and still get a crisp image on the screen.
8989
float scale = 1.0;
9090

src/api/wayfire/scene-input.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ using node_ptr = std::shared_ptr<node_t>;
1919
* When refocusing on a particular output, there may be multiple nodes
2020
* which can receive keyboard focus. While usually the most recently focused
2121
* node is chosen, there are cases where this is not the desired behavior, for ex.
22-
* nodes which have keyboard grabs. In order to accomodate for these cases,
22+
* nodes which have keyboard grabs. In order to accommodate for these cases,
2323
* the focus_importance enum provides a way for nodes to indicate in what cases
2424
* they should receive keyboard focus.
2525
*/

src/api/wayfire/scene-render.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class render_instance_t
8989
* regions, or expand it for certain special effects like blur.
9090
* @param fb The target framebuffer to render the node and its children.
9191
* Note that some nodes may cause their children to be rendered to
92-
* auxilliary buffers.
92+
* auxiliary buffers.
9393
*/
9494
virtual void schedule_instructions(
9595
std::vector<render_instruction_t>& instructions,

src/api/wayfire/util.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class wl_idle_call
7878
* if already waiting for idleness, or if the callback hasn't been set. */
7979
void run_once();
8080

81-
/* Same as calling set_callbck + run_once */
81+
/* Same as calling set_callback + run_once */
8282
void run_once(callback_t call);
8383

8484
/** Stop waiting for idle, no-op if not connected */

src/api/wayfire/view-transform.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class transformer_render_instance_t : public render_instance_t
6464
protected:
6565
// A pointer to the transformer node this render instance belongs to.
6666
NodeType *self;
67-
// A list of render instances of the next trasformer or the view itself.
67+
// A list of render instances of the next transformer or the view itself.
6868
std::vector<render_instance_uptr> children;
6969
// A temporary buffer to render children to.
7070
wf::render_target_t inner_content;
@@ -78,7 +78,7 @@ class transformer_render_instance_t : public render_instance_t
7878
* If the node has a single child which supports zero-copy texture generation
7979
* via @to_texture, that method is preferred to avoid unnecessary copies.
8080
*
81-
* Otherwise, the children are rendered to an auxilliary buffer (@inner_content),
81+
* Otherwise, the children are rendered to an auxiliary buffer (@inner_content),
8282
* whose texture is returned.
8383
*
8484
* @param scale The scale to use when generating the texture. The scale
@@ -100,7 +100,7 @@ class transformer_render_instance_t : public render_instance_t
100100
if (inner_content.fb != (uint) - 1)
101101
{
102102
// Release the inner_content buffer, because we are on
103-
// the zero-copy path and we do not need an auxilliary
103+
// the zero-copy path and we do not need an auxiliary
104104
// buffer to render to.
105105
OpenGL::render_begin();
106106
inner_content.release();

src/core/gldebug.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ void errorHandler(GLenum src, GLenum type, GLuint id, GLenum severity,
115115
"_______________________________________________\n");
116116
}
117117

118-
void enable_gl_synchronuous_debug()
118+
void enable_gl_synchronous_debug()
119119
{
120120
glEnable(GL_DEBUG_OUTPUT);
121121
glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS);

src/core/opengl.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ GLuint compile_program(std::string vertex_source, std::string frag_source)
9797
void init()
9898
{
9999
render_begin();
100-
// enable_gl_synchronuous_debug()
100+
// enable_gl_synchronous_debug()
101101
program.compile(default_vertex_shader_source,
102102
default_fragment_shader_source);
103103

@@ -516,7 +516,7 @@ wf::render_target_t wf::render_target_t::translated(wf::point_t offset) const
516516
}
517517

518518
/* look up the actual values of wl_output_transform enum
519-
* All _flipped transforms have values (regular_transfrom + 4) */
519+
* All _flipped transforms have values (regular_transform + 4) */
520520
glm::mat4 get_output_matrix_from_transform(wl_output_transform transform)
521521
{
522522
glm::mat4 scale = glm::mat4(1.0);

src/core/wm.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ void wayfire_focus::init()
8282
return;
8383
}
8484

85-
/* focuse_btns->get_value() does not compile */
85+
/* focus_btns->get_value() does not compile */
8686
wf::option_sptr_t<wf::activatorbinding_t> tmp = focus_btns;
8787
if ((!focus_modifiers && wf::get_core().seat->get_keyboard_modifiers()) ||
8888
!tmp->get_value().has_match(wf::buttonbinding_t(0, ev->event->button)))

src/output/workspace-stream.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class workspace_stream_node_t::workspace_stream_instance_t : public scene::
1919

2020
std::vector<scene::render_instance_uptr> instances;
2121
// True for each instance generated from a desktop environment view.
22-
std::vector<bool> is_dekstop_environment;
22+
std::vector<bool> is_desktop_environment;
2323

2424
wf::point_t get_offset()
2525
{
@@ -62,12 +62,12 @@ class workspace_stream_node_t::workspace_stream_instance_t : public scene::
6262
num_generated = this->instances.size() - num_generated;
6363
for (size_t i = 0; i < num_generated; i++)
6464
{
65-
is_dekstop_environment.push_back(is_de);
65+
is_desktop_environment.push_back(is_de);
6666
}
6767
}
6868
}
6969

70-
wf::dassert(instances.size() == is_dekstop_environment.size(), "Setting de flag is wrong!");
70+
wf::dassert(instances.size() == is_desktop_environment.size(), "Setting de flag is wrong!");
7171
}
7272
}
7373

@@ -85,7 +85,7 @@ class workspace_stream_node_t::workspace_stream_instance_t : public scene::
8585
our_damage += offset;
8686
for (size_t i = 0; i < instances.size(); i++)
8787
{
88-
if (is_dekstop_environment[i])
88+
if (is_desktop_environment[i])
8989
{
9090
// Special handling: move everything to 'current workspace' so that panels and backgrounds
9191
// render at the correct position.

0 commit comments

Comments
 (0)