mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 20:44:01 +01:00
Stop swaybar from not rendering after the first go around
I am not sure if this is a correct issue/fix but on my system at least after an i3bar protocol is detected this while loop never goes back around meaning it doesnt process the status line anymore.
This commit is contained in:
parent
27848b41ab
commit
bd74320da9
@ -690,11 +690,10 @@ void poll_for_update() {
|
|||||||
if (dirty && window_prerender(window) && window->cairo) {
|
if (dirty && window_prerender(window) && window->cairo) {
|
||||||
render();
|
render();
|
||||||
window_render(window);
|
window_render(window);
|
||||||
}
|
|
||||||
|
|
||||||
if (wl_display_dispatch(registry->display) == -1) {
|
if (wl_display_dispatch(registry->display) == -1) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
dirty = false;
|
dirty = false;
|
||||||
FD_ZERO(&readfds);
|
FD_ZERO(&readfds);
|
||||||
|
Loading…
Reference in New Issue
Block a user