Handle output removal on swaybar

This commit is contained in:
Drew DeVault 2018-04-05 15:39:57 -04:00
parent 842a3ea45c
commit f242362e7e
7 changed files with 45 additions and 9 deletions

View file

@ -421,8 +421,6 @@ static uint32_t render_workspace_button(cairo_t *cairo,
static uint32_t render_to_cairo(cairo_t *cairo,
struct swaybar *bar, struct swaybar_output *output) {
struct swaybar_config *config = bar->config;
wlr_log(L_DEBUG, "output %p", output);
cairo_set_operator(cairo, CAIRO_OPERATOR_SOURCE);
if (output->focused) {
cairo_set_source_u32(cairo, config->colors.focused_background);