mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-20 11:35:42 +02:00
bar/wayland: remove unused member ‘bar_expose’
This commit is contained in:
parent
4f3aa8c6b0
commit
fee0b91174
1 changed files with 0 additions and 2 deletions
|
@ -116,7 +116,6 @@ struct wayland_backend {
|
||||||
double aggregated_scroll;
|
double aggregated_scroll;
|
||||||
bool have_discrete;
|
bool have_discrete;
|
||||||
|
|
||||||
void (*bar_expose)(const struct bar *bar);
|
|
||||||
void (*bar_on_mouse)(struct bar *bar, enum mouse_event event,
|
void (*bar_on_mouse)(struct bar *bar, enum mouse_event event,
|
||||||
enum mouse_button btn, int x, int y);
|
enum mouse_button btn, int x, int y);
|
||||||
};
|
};
|
||||||
|
@ -1111,7 +1110,6 @@ loop(struct bar *_bar,
|
||||||
|
|
||||||
pthread_setname_np(pthread_self(), "bar(wayland)");
|
pthread_setname_np(pthread_self(), "bar(wayland)");
|
||||||
|
|
||||||
backend->bar_expose = expose;
|
|
||||||
backend->bar_on_mouse = on_mouse;
|
backend->bar_on_mouse = on_mouse;
|
||||||
|
|
||||||
while (wl_display_prepare_read(backend->display) != 0)
|
while (wl_display_prepare_read(backend->display) != 0)
|
||||||
|
|
Loading…
Add table
Reference in a new issue