removed dev prints

This commit is contained in:
FelixKratz 2021-08-19 01:06:53 +02:00
parent a61fae9621
commit 44ad32fd79
2 changed files with 0 additions and 5 deletions

View file

@ -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);
}

View file

@ -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;
}