mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-20 17:35:39 +02:00
module/particle: remove cairo context from begin_expose()
This commit is contained in:
parent
f6977417e0
commit
558f75a54b
10 changed files with 19 additions and 19 deletions
6
bar.c
6
bar.c
|
@ -147,7 +147,7 @@ expose(const struct bar *_bar)
|
|||
if (e->exposable != NULL)
|
||||
m->end_expose(m, e);
|
||||
|
||||
*e = m->begin_expose(m, bar->cairo);
|
||||
*e = m->begin_expose(m);
|
||||
}
|
||||
|
||||
for (size_t i = 0; i < bar->center.count; i++) {
|
||||
|
@ -157,7 +157,7 @@ expose(const struct bar *_bar)
|
|||
if (e->exposable != NULL)
|
||||
m->end_expose(m, e);
|
||||
|
||||
*e = m->begin_expose(m, bar->cairo);
|
||||
*e = m->begin_expose(m);
|
||||
}
|
||||
|
||||
for (size_t i = 0; i < bar->right.count; i++) {
|
||||
|
@ -167,7 +167,7 @@ expose(const struct bar *_bar)
|
|||
if (e->exposable != NULL)
|
||||
m->end_expose(m, e);
|
||||
|
||||
*e = m->begin_expose(m, bar->cairo);
|
||||
*e = m->begin_expose(m);
|
||||
}
|
||||
|
||||
int left_width, center_width, right_width;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue