projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62e36ad
)
don't resize the label to 0
author
Dana Jansens
<danakj@orodu.net>
Thu, 14 Jan 2010 19:57:18 +0000
(14:57 -0500)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 14 Jan 2010 19:57:18 +0000
(14:57 -0500)
openbox/frame.c
patch
|
blob
|
history
diff --git
a/openbox/frame.c
b/openbox/frame.c
index 20697d32a091aa958ed3a0bb3b77e25f92db0ae0..67adb40535e113a1f23676746d93efeb5852e39a 100644
(file)
--- a/
openbox/frame.c
+++ b/
openbox/frame.c
@@
-862,10
+862,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(ob_display, self->label, self->label_width,
ob_rr_theme->label_height);
-
+ }
}
static void frame_adjust_cursors(ObFrame *self)