Merge pull request #396 from crondog/fixbar

Stop swaybar from not rendering after the first go around
master
Drew DeVault 9 years ago
commit 23df7ed502

@ -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…
Cancel
Save