diff options
author | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2016-04-02 19:09:12 +0200 |
---|---|---|
committer | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2016-04-02 19:09:12 +0200 |
commit | 4885a6c423b9bcf4a60e57b32f528b9c90d09cd8 (patch) | |
tree | 89abbdf64bf6f8d9374afe9fc1f8cd4f5856d88b /sway/input_state.c | |
parent | 0d4c31edcd49e1780da9f637474adeb09d3b11c7 (diff) | |
parent | 3e8081514d28871f8c780550719b2ea481b038c3 (diff) |
Merge pull request #569 from 1ace/master
Fix spelling mistakes
Diffstat (limited to 'sway/input_state.c')
-rw-r--r-- | sway/input_state.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sway/input_state.c b/sway/input_state.c index cb71673e..429b2f34 100644 --- a/sway/input_state.c +++ b/sway/input_state.c @@ -96,7 +96,7 @@ void press_key(uint32_t key_sym, uint32_t key_code) { } // Check if key exists if (!check_key(key_sym, key_code)) { - // Check that we dont exceed buffer length + // Check that we don't exceed buffer length int insert = find_key(0, 0, true); if (insert < KEY_STATE_MAX_LENGTH) { key_state_array[insert].key_sym = key_sym; @@ -249,7 +249,7 @@ static void pointer_mode_set_dragging(void) { pointer_state.mode = M_DRAGGING | M_FLOATING; } else { pointer_state.mode = M_DRAGGING | M_TILING; - // unset mode if we cant drag tile + // unset mode if we can't drag tile if (initial.ptr->parent->type == C_WORKSPACE && initial.ptr->parent->children->length == 1) { pointer_state.mode = 0; @@ -317,7 +317,7 @@ void pointer_mode_set(uint32_t button, bool condition) { switch (button) { // Start left-click mode case M_LEFT_CLICK: - // if button release dont do anything + // if button release don't do anything if (pointer_state.left.held) { if (config->dragging_key == M_LEFT_CLICK) { pointer_mode_set_dragging(); @@ -329,7 +329,7 @@ void pointer_mode_set(uint32_t button, bool condition) { // Start right-click mode case M_RIGHT_CLICK: - // if button release dont do anyhting + // if button release don't do anyhting if (pointer_state.right.held) { if (config->dragging_key == M_RIGHT_CLICK) { pointer_mode_set_dragging(); |