summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorWilliam Jon McCann <[email protected]>2015-04-19 04:06:45 +0200
committerinfirit <[email protected]>2015-09-14 18:44:29 +0200
commite959355cbae2b4ed4dcd9124b0ffe1e328965ef0 (patch)
tree6234aa3240bcd79acbe3f6f9e60de698ea0e1fb4 /src/ui
parente84e5ffa84180bffb2ca32bf072d065797a4621b (diff)
downloadmarco-e959355cbae2b4ed4dcd9124b0ffe1e328965ef0.tar.bz2
marco-e959355cbae2b4ed4dcd9124b0ffe1e328965ef0.tar.xz
Don't allow multiline window titles
Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=683056
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/frames.c2
1 files changed, 2 insertions, 0 deletions
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 ());