From e959355cbae2b4ed4dcd9124b0ffe1e328965ef0 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Sun, 19 Apr 2015 04:06:45 +0200 Subject: Don't allow multiline window titles Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=683056 --- src/ui/frames.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ui') diff --git a/src/ui/frames.c b/src/ui/frames.c index 037ba3ac..f5f0c7d4 100644 --- a/src/ui/frames.c +++ b/src/ui/frames.c @@ -565,6 +565,8 @@ meta_frames_ensure_layout (MetaFrames *frames, pango_layout_set_auto_dir (frame->layout, FALSE); + pango_layout_set_single_paragraph_mode (frame->layout, TRUE); + font_desc = meta_gtk_widget_get_font_desc (widget, scale, meta_prefs_get_titlebar_font ()); -- cgit v1.2.1