mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-07-27 15:29:50 +02:00
Fixed bar not reappearing after being fully hidden
Somewhere between versions 0.16 and 0.18 wlroots implemented rendering code optimizations. One of optimizations was to not call frame callback for invisible surfaces. This caused bar to not reappear, if it was fully hidden behind non-transparent window.
This commit is contained in:
parent
3dce815fe3
commit
6212f98dd3
3 changed files with 31 additions and 7 deletions
|
@ -11,6 +11,7 @@ struct backend {
|
|||
void (*on_mouse)(struct bar *bar, enum mouse_event event, enum mouse_button btn, int x, int y));
|
||||
void (*commit)(const struct bar *bar);
|
||||
void (*refresh)(const struct bar *bar);
|
||||
void (*update_visibility)(const struct bar *bar);
|
||||
void (*set_cursor)(struct bar *bar, const char *cursor);
|
||||
const char *(*output_name)(const struct bar *bar);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue