diff --git a/src/bar_item.c b/src/bar_item.c index 67032f7..f0b42aa 100644 --- a/src/bar_item.c +++ b/src/bar_item.c @@ -127,7 +127,6 @@ void bar_item_set_label_font(struct bar_item* bar_item, char *font_string) { } void bar_item_on_click(struct bar_item* bar_item) { - printf("%s \n", bar_item->name); if (strcmp(bar_item->on_click_script, "") != 0) fork_exec(bar_item->on_click_script, NULL); } diff --git a/src/event.c b/src/event.c index 6644cfc..1e97162 100644 --- a/src/event.c +++ b/src/event.c @@ -256,13 +256,9 @@ static EVENT_CALLBACK(EVENT_HANDLER_MOUSE_DOWN) { static EVENT_CALLBACK(EVENT_HANDLER_MOUSE_UP) { CGPoint point = CGEventGetLocation(context); - printf("Mouse Up Event \n"); uint32_t sid = mission_control_index(display_space_id(display_manager_active_display_id())); - printf("sid: %i \n", sid); struct bar_item* bar_item = bar_manager_get_item_by_point(&g_bar_manager, point, sid); if (bar_item) bar_item_on_click(bar_item); - else { printf("No item found \n"); } - return EVENT_SUCCESS; }