xwm: Use Pango to draw title string if available

Graphics / Wayland / Weston - Louis-Francis Ratté-Boulianne [collabora.com] - 5 December 2017 14:09 EST

If Weston is built with Pango, use it to render the title for X11 applications and Weston toy toolkit clients. It allows us to ellipsize the title when there isn't enough space to show the whole string.

037f056e xwm: Use Pango to draw title string if available
Makefile.am | 2 ++
configure.ac | 3 +++
shared/cairo-util.c | 60 ++++++++++++++++++++++++++++++++++++++++++++++++-----
3 files changed, 60 insertions(+), 5 deletions(-)

Upstream: cgit.freedesktop.org


  • Share