]> Dogcows Code - chaz/openbox/blobdiff - openbox/frame.c
Merge branch 'backport' into work
[chaz/openbox] / openbox / frame.c
index 084f3f6accd60c6040f6a6adf6bcf7044de93b1e..8835c6326b15836e499b39b3fc5046437d92ec9f 100644 (file)
@@ -861,10 +861,12 @@ void frame_adjust_area(ObFrame *self, gboolean moved,
         if (focus_cycle_target == self->client)
             focus_cycle_update_indicator(self->client);
     }
-    if (resized && (self->decorations & OB_FRAME_DECOR_TITLEBAR))
+    if (resized && (self->decorations & OB_FRAME_DECOR_TITLEBAR) &&
+        self->label_width)
+    {
         XResizeWindow(obt_display, self->label, self->label_width,
                       ob_rr_theme->label_height);
-
+    }
 }
 
 static void frame_adjust_cursors(ObFrame *self)
This page took 0.016133 seconds and 4 git commands to generate.