Send click events for i3bar blocks

This commit is contained in:
Drew DeVault 2018-03-31 14:58:30 -04:00
parent 333dbcbe72
commit 0cbd2a4f49
3 changed files with 57 additions and 15 deletions

View file

@ -67,9 +67,11 @@ struct status_line {
};
struct status_line *status_line_init(char *cmd);
void status_line_free(struct status_line *status);
bool status_handle_readable(struct status_line *status);
bool i3bar_handle_readable(struct status_line *status);
void status_error(struct status_line *status, const char *text);
bool status_handle_readable(struct status_line *status);
void status_line_free(struct status_line *status);
bool i3bar_handle_readable(struct status_line *status);
void i3bar_block_send_click(struct status_line *status,
struct i3bar_block *block, int x, int y, uint32_t button);
#endif