]> Dogcows Code - chaz/openbox/blobdiff - render/font.c
Update the send-to window only if the workspaces have changed.
[chaz/openbox] / render / font.c
index 066f4771e4dbedba32fcf0577e7cfc8494f5c39a..9c42fcbcf4b715ee47b3947b11ddb0cc665e15f2 100644 (file)
@@ -65,7 +65,6 @@ static RrFont *openfont(const RrInstance *inst, char *fontstring)
 
     if (FcPatternGetBool(match, OB_SHADOW, 0, &out->shadow) != FcResultMatch)
         out->shadow = FALSE;
-    g_message("shadow %d", out->shadow);
 
     if (FcPatternGetInteger(match, OB_SHADOW_OFFSET, 0, &out->offset) !=
         FcResultMatch)
@@ -79,6 +78,7 @@ static RrFont *openfont(const RrInstance *inst, char *fontstring)
 
     font = XftFontOpenPattern(RrDisplay(inst), match);
     if (!font) {
+        FcPatternDestroy(match);
         g_free(out);
         return NULL;
     } else
This page took 0.020032 seconds and 4 git commands to generate.