aboutsummaryrefslogtreecommitdiff
path: root/src/x.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/x.c')
-rw-r--r--src/x.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/x.c b/src/x.c
index 9720e833..48105b03 100644
--- a/src/x.c
+++ b/src/x.c
@@ -731,6 +731,9 @@ void x_draw_decoration(Con *con) {
/* Make sure the icon does not escape title boundaries */
icon_offset_x = min(deco_width - icon_size - icon_padding - title_padding, title_offset_x + predict_text_width(title) + icon_padding);
break;
+ default:
+ ELOG("BUG: invalid config.title_align value %d\n", config.title_align);
+ return;
}
draw_util_text(title, dest_surface,