|
|
@ -253,12 +253,14 @@ void render_view_borders(wlc_handle view) {
|
|
|
|
// update window title
|
|
|
|
// update window title
|
|
|
|
const char *new_name = wlc_view_get_title(view);
|
|
|
|
const char *new_name = wlc_view_get_title(view);
|
|
|
|
|
|
|
|
|
|
|
|
if (new_name && strcmp(c->name, new_name) != 0) {
|
|
|
|
if (new_name) {
|
|
|
|
|
|
|
|
if (!c->name || strcmp(c->name, new_name) != 0) {
|
|
|
|
free(c->name);
|
|
|
|
free(c->name);
|
|
|
|
c->name = strdup(new_name);
|
|
|
|
c->name = strdup(new_name);
|
|
|
|
update_view_border(c);
|
|
|
|
update_view_border(c);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (c->border) {
|
|
|
|
if (c->border) {
|
|
|
|
wlc_pixels_write(WLC_RGBA8888, &c->border_geometry, c->border);
|
|
|
|
wlc_pixels_write(WLC_RGBA8888, &c->border_geometry, c->border);
|
|
|
|