mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-16 08:15:40 +02:00
particle: remove cairo context from begin_expose()
This commit is contained in:
parent
54797ffbd8
commit
95385863ae
11 changed files with 19 additions and 19 deletions
|
@ -97,7 +97,7 @@ expose(const struct bar *_bar)
|
|||
if (e != NULL)
|
||||
e->destroy(e);
|
||||
|
||||
bar->left.exps[i] = module_begin_expose(m, bar->cairo);
|
||||
bar->left.exps[i] = module_begin_expose(m);
|
||||
}
|
||||
|
||||
for (size_t i = 0; i < bar->center.count; i++) {
|
||||
|
@ -107,7 +107,7 @@ expose(const struct bar *_bar)
|
|||
if (e != NULL)
|
||||
e->destroy(e);
|
||||
|
||||
bar->center.exps[i] = module_begin_expose(m, bar->cairo);
|
||||
bar->center.exps[i] = module_begin_expose(m);
|
||||
}
|
||||
|
||||
for (size_t i = 0; i < bar->right.count; i++) {
|
||||
|
@ -117,7 +117,7 @@ expose(const struct bar *_bar)
|
|||
if (e != NULL)
|
||||
e->destroy(e);
|
||||
|
||||
bar->right.exps[i] = module_begin_expose(m, bar->cairo);
|
||||
bar->right.exps[i] = module_begin_expose(m);
|
||||
}
|
||||
|
||||
int left_width, center_width, right_width;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue