mirror of
https://github.com/swaywm/sway.git
synced 2026-02-18 22:05:45 -05:00
click_events as documented at https://i3wm.org/docs/i3bar-protocol.html
This commit is contained in:
parent
7553103e34
commit
65022e1cbf
5 changed files with 138 additions and 10 deletions
|
|
@ -94,6 +94,9 @@ static void render_block(struct window *window, struct config *config, struct st
|
|||
|
||||
double pos = *x;
|
||||
|
||||
block->x = (int) pos;
|
||||
block->width = (int) block_width;
|
||||
|
||||
// render background
|
||||
if (block->background != 0x0) {
|
||||
cairo_set_source_u32(window->cairo, block->background);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue