|
|
@ -109,7 +109,7 @@ static void render_sharp_line(cairo_t *cairo, uint32_t color,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static void block_hotspot_callback(struct swaybar_output *output,
|
|
|
|
static void block_hotspot_callback(struct swaybar_output *output,
|
|
|
|
int x, int y, uint32_t button, void *data) {
|
|
|
|
int x, int y, enum x11_button button, void *data) {
|
|
|
|
struct i3bar_block *block = data;
|
|
|
|
struct i3bar_block *block = data;
|
|
|
|
struct status_line *status = output->bar->status;
|
|
|
|
struct status_line *status = output->bar->status;
|
|
|
|
i3bar_block_send_click(status, block, x, y, button);
|
|
|
|
i3bar_block_send_click(status, block, x, y, button);
|
|
|
@ -349,7 +349,7 @@ static const char *strip_workspace_number(const char *ws_name) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static void workspace_hotspot_callback(struct swaybar_output *output,
|
|
|
|
static void workspace_hotspot_callback(struct swaybar_output *output,
|
|
|
|
int x, int y, uint32_t button, void *data) {
|
|
|
|
int x, int y, enum x11_button button, void *data) {
|
|
|
|
ipc_send_workspace_command(output->bar, (const char *)data);
|
|
|
|
ipc_send_workspace_command(output->bar, (const char *)data);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|