Bug#740823: alignment=center|right doesn't work with width=0

2014-03-05 Thread Yuri D'Elia
Package: dunst Version: 1.0.0-2 Severity: minor With: [global] alignment = right geometry = -0-0 the text is not actually flushed right. The geometry here is aligning the frame to the top-right corner of the screen. Width is empty/0, which means automatic width. If I set a width manually:

Bug#740823: alignment=center|right doesn't work with width=0

2014-03-05 Thread Yuri D'Elia
Package: dunst Version: 1.0.0-2 Followup-For: Bug #740823 I wrongly filed this fix under the wrong bug report before, sorry for the noise. The problem is caused by pango not knowing the final layout width when rendering. The attached patch fixes the problem. --- dunst-1.0.0.Orig/x.c 2014-03-05