diff options
Diffstat (limited to 'sway/handlers.c')
-rw-r--r-- | sway/handlers.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sway/handlers.c b/sway/handlers.c index 4b1216bc..f95683d0 100644 --- a/sway/handlers.c +++ b/sway/handlers.c | |||
@@ -192,9 +192,6 @@ static bool handle_pointer_motion(wlc_handle view, uint32_t time, const struct w | |||
192 | swayc_t *c = find_container(&root_container, pointer_test, (void *)origin); | 192 | swayc_t *c = find_container(&root_container, pointer_test, (void *)origin); |
193 | swayc_t *focused = get_focused_container(&root_container); | 193 | swayc_t *focused = get_focused_container(&root_container); |
194 | if (c && c != focused) { | 194 | if (c && c != focused) { |
195 | sway_log(L_DEBUG, "Mouse pointer at X: %d, Y: %d", origin->x, origin->y); | ||
196 | sway_log(L_DEBUG, "Container to focus on is at X: %d, Y: %d, with W: %d, H: %d", c->x, c->y, c->width, c->height); | ||
197 | sway_log(L_DEBUG, "Focused container is at X: %d, Y: %d, with W: %d, H: %d", c->x, c->y, c->width, c->height); | ||
198 | sway_log(L_DEBUG, "Switching focus to %p", c); | 195 | sway_log(L_DEBUG, "Switching focus to %p", c); |
199 | unfocus_all(&root_container); | 196 | unfocus_all(&root_container); |
200 | focus_view(c); | 197 | focus_view(c); |