Removed unnecessary debugging lines

This commit is contained in:
Luminarys 2015-08-18 13:54:52 -05:00
parent 01c6caced6
commit 7756f423c3

View file

@ -60,9 +60,7 @@ swayc_t *container_under_pointer(void) {
i = len = lookup->floating->length; i = len = lookup->floating->length;
bool got_floating = false; bool got_floating = false;
while (--i > -1) { while (--i > -1) {
sway_log(L_DEBUG, "Checking index %d of floating items", i);
if (pointer_test(lookup->floating->items[i], &mouse_origin)) { if (pointer_test(lookup->floating->items[i], &mouse_origin)) {
sway_log(L_DEBUG, "Got hit for floatin on %d", i);
lookup = lookup->floating->items[i]; lookup = lookup->floating->items[i];
got_floating = true; got_floating = true;
break; break;
@ -75,7 +73,6 @@ swayc_t *container_under_pointer(void) {
// search children // search children
len = lookup->children->length; len = lookup->children->length;
for (i = 0; i < len; ++i) { for (i = 0; i < len; ++i) {
sway_log(L_DEBUG, "Checking index %d of standard children", i);
if (pointer_test(lookup->children->items[i], &mouse_origin)) { if (pointer_test(lookup->children->items[i], &mouse_origin)) {
lookup = lookup->children->items[i]; lookup = lookup->children->items[i];
break; break;