aboutsummaryrefslogtreecommitdiff
path: root/sway/handlers.c
diff options
context:
space:
mode:
authorMikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-04-02 19:09:12 +0200
committerMikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-04-02 19:09:12 +0200
commit4885a6c423b9bcf4a60e57b32f528b9c90d09cd8 (patch)
tree89abbdf64bf6f8d9374afe9fc1f8cd4f5856d88b /sway/handlers.c
parent0d4c31edcd49e1780da9f637474adeb09d3b11c7 (diff)
parent3e8081514d28871f8c780550719b2ea481b038c3 (diff)
Merge pull request #569 from 1ace/master
Fix spelling mistakes
Diffstat (limited to 'sway/handlers.c')
-rw-r--r--sway/handlers.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sway/handlers.c b/sway/handlers.c
index ee88b247..f96a8e9d 100644
--- a/sway/handlers.c
+++ b/sway/handlers.c
@@ -166,7 +166,7 @@ static void handle_output_resolution_change(wlc_handle output, const struct wlc_
static void handle_output_focused(wlc_handle output, bool focus) {
swayc_t *c = swayc_by_handle(output);
- // if for some reason this output doesnt exist, create it.
+ // if for some reason this output doesn't exist, create it.
if (!c) {
handle_output_created(output);
}
@@ -217,7 +217,7 @@ static bool handle_view_created(wlc_handle handle) {
wlc_view_set_state(handle, WLC_BIT_MAXIMIZED, true);
break;
- // Dmenu keeps viewfocus, but others with this flag dont, for now simulate
+ // Dmenu keeps viewfocus, but others with this flag don't, for now simulate
// dmenu
case WLC_BIT_OVERRIDE_REDIRECT:
// locked_view_focus = true;
@@ -288,7 +288,7 @@ static void handle_view_destroyed(wlc_handle handle) {
case WLC_BIT_POPUP:
break;
// DMENU has this flag, and takes view_focus, but other things with this
- // flag dont
+ // flag don't
case WLC_BIT_OVERRIDE_REDIRECT:
// locked_view_focus = false;
break;
@@ -651,7 +651,7 @@ static bool handle_pointer_button(wlc_handle view, uint32_t time, const struct w
// get focused window and check if to change focus on mouse click
swayc_t *focused = get_focused_container(&root_container);
- // dont change focus or mode if fullscreen
+ // don't change focus or mode if fullscreen
if (swayc_is_fullscreen(focused)) {
return EVENT_PASSTHROUGH;
}