summaryrefslogtreecommitdiff
path: root/tinywl.c
diff options
context:
space:
mode:
authorElyes HAOUAS <[email protected]>2021-10-02 08:29:27 +0200
committerSimon Ser <[email protected]>2021-10-02 10:22:13 +0200
commit8d7cfe99a6f827e8ab34aaca32230d5a16f8d305 (patch)
tree0cd1a1045d65513a15cfa4325d8d409fa33fe7b3 /tinywl.c
parent1979956219d60738e18022c109f121db14277afa (diff)
Fix spelling errors
Signed-off-by: Elyes HAOUAS <[email protected]>
Diffstat (limited to 'tinywl.c')
-rw-r--r--tinywl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tinywl.c b/tinywl.c
index 8697d2b..b11549b 100644
--- a/tinywl.c
+++ b/tinywl.c
@@ -281,7 +281,7 @@ static void server_new_input(struct wl_listener *listener, void *data) {
static void seat_request_cursor(struct wl_listener *listener, void *data) {
struct tinywl_server *server = wl_container_of(
listener, server, request_cursor);
- /* This event is rasied by the seat when a client provides a cursor image */
+ /* This event is raised by the seat when a client provides a cursor image */
struct wlr_seat_pointer_request_set_cursor_event *event = data;
struct wlr_seat_client *focused_client =
server->seat->pointer_state.focused_client;
@@ -656,7 +656,7 @@ static void output_frame(struct wl_listener *listener, void *data) {
}
static void server_new_output(struct wl_listener *listener, void *data) {
- /* This event is rasied by the backend when a new output (aka a display or
+ /* This event is raised by the backend when a new output (aka a display or
* monitor) becomes available. */
struct tinywl_server *server =
wl_container_of(listener, server, new_output);
@@ -758,7 +758,7 @@ static void xdg_toplevel_request_move(
/* This event is raised when a client would like to begin an interactive
* move, typically because the user clicked on their client-side
* decorations. Note that a more sophisticated compositor should check the
- * provied serial against a list of button press serials sent to this
+ * provided serial against a list of button press serials sent to this
* client, to prevent the client from requesting this whenever they want. */
struct tinywl_view *view = wl_container_of(listener, view, request_move);
begin_interactive(view, TINYWL_CURSOR_MOVE, 0);
@@ -769,7 +769,7 @@ static void xdg_toplevel_request_resize(
/* This event is raised when a client would like to begin an interactive
* resize, typically because the user clicked on their client-side
* decorations. Note that a more sophisticated compositor should check the
- * provied serial against a list of button press serials sent to this
+ * provided serial against a list of button press serials sent to this
* client, to prevent the client from requesting this whenever they want. */
struct wlr_xdg_toplevel_resize_event *event = data;
struct tinywl_view *view = wl_container_of(listener, view, request_resize);