]> Dogcows Code - chaz/openbox/blobdiff - render/render.c
popups fixes. if the text for the popup is empty now, there wont be extra padding...
[chaz/openbox] / render / render.c
index 2755e6678056f9fd60a9eaa3231715ed35a9cc84..d34ddccb1df921cb2704ee7e297a0772e031749a 100644 (file)
@@ -369,7 +369,7 @@ gint RrMinWidth(RrAppearance *a)
                                     a->texture[i].data.text.string, 
                                     a->texture[i].data.text.shadow_offset_x,
                                     a->texture[i].data.text.shadow_offset_y);
-            w = MAX(w, m->width + 4);
+            w = MAX(w, m->width);
             g_free(m);
             break;
         case RR_TEXTURE_RGBA:
This page took 0.024056 seconds and 4 git commands to generate.