aboutsummaryrefslogtreecommitdiff
path: root/sway/border.c
diff options
context:
space:
mode:
authorMikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-05-01 22:05:20 +0200
committerMikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-05-01 22:08:46 +0200
commitae5164f1d4b4e81cc14578e92ddab224dced5a22 (patch)
tree82cef47c5341f25e116b111d936409a36eb59eac /sway/border.c
parent4915f9761840f05c5a80e92e0efd5318982663b6 (diff)
Update view title of tabbed/stacked windows
Requires Cloudef/wlc@80bf003 Fix #623
Diffstat (limited to 'sway/border.c')
-rw-r--r--sway/border.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/sway/border.c b/sway/border.c
index d261d006..0d1be970 100644
--- a/sway/border.c
+++ b/sway/border.c
@@ -406,19 +406,6 @@ void render_view_borders(wlc_handle view) {
return;
}
- if (c->border_type == B_NORMAL) {
- // update window title
- const char *new_name = wlc_view_get_title(view);
-
- if (new_name) {
- if (!c->name || strcmp(c->name, new_name) != 0) {
- free(c->name);
- c->name = strdup(new_name);
- update_view_border(c);
- }
- }
- }
-
if (c->border && c->border->buffer) {
wlc_pixels_write(WLC_RGBA8888, &c->border->geometry, c->border->buffer);
}