components/desktop/xscreensaver/patches/0022-photopile-title.patch
author Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
Tue, 08 Mar 2016 09:00:31 -0800
changeset 5561 0416d82f7f55
parent 5525 components/desktop/xscreensaver/patches/28-photopile-title.patch@7fcde4c19777
permissions -rw-r--r--
22593000 Upgrade xscreensaver to version 5.34 22557069 problem in GNOME/SCREENSAVER

From a006863efaf40e8c1e2bffb68fb3ce4c2dfb149d Mon Sep 17 00:00:00 2001
From: John Beck <[email protected]>
Date: Fri, 4 Mar 2016 17:39:18 -0800
Subject: [PATCH] photopile title

This patch was developed in-house, offered upstream, but rejected because
of a difference of opinion about typical settings for font and screen sizes.
---
 hacks/glx/photopile.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hacks/glx/photopile.c b/hacks/glx/photopile.c
index 29617aa..8c96188 100644
--- a/hacks/glx/photopile.c
+++ b/hacks/glx/photopile.c
@@ -640,7 +640,7 @@ draw_image (ModeInfo *mi, int i, GLfloat t, GLfloat s, GLfloat z)
       XCharStruct e;
 
       /* #### Highly approximate, but doing real clipping is harder... */
-      int max = 35;
+      int max = 61;
       if (strlen(title) > max)
         title += strlen(title) - max;
 
-- 
2.6.1