mirror of
https://github.com/swaywm/sway.git
synced 2024-11-16 13:13:17 +00:00
Merge pull request #396 from crondog/fixbar
Stop swaybar from not rendering after the first go around
This commit is contained in:
commit
23df7ed502
|
@ -690,10 +690,9 @@ 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) {
|
||||||
|
break;
|
||||||
if (wl_display_dispatch(registry->display) == -1) {
|
}
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dirty = false;
|
dirty = false;
|
||||||
|
|
Loading…
Reference in a new issue