Open current tint2 config automatically when started from tint2

This commit is contained in:
o9000
2017-04-22 19:07:49 +02:00
parent affac4cfa6
commit 701b57e113
17 changed files with 98 additions and 113 deletions

View File

@@ -393,7 +393,7 @@ char *clock_get_tooltip(void *obj)
return strdup(buf_tooltip);
}
void clock_action(int button)
void clock_action(int button, Time time)
{
char *command = NULL;
switch (button) {
@@ -413,5 +413,5 @@ void clock_action(int button)
command = clock_dwheel_command;
break;
}
tint_exec(command);
tint_exec(command, NULL, NULL, time);
}

View File

@@ -54,6 +54,6 @@ void draw_clock(void *obj, cairo_t *c);
gboolean resize_clock(void *obj);
void clock_action(int button);
void clock_action(int button, Time time);
#endif