projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c4126e
)
dont save the appearance when reconfiguring!! that was a crash waiting to happen!!
author
Dana Jansens
<danakj@orodu.net>
Sun, 21 Sep 2003 18:19:11 +0000
(18:19 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 21 Sep 2003 18:19:11 +0000
(18:19 +0000)
also reset the border stuff on reconfigure
openbox/dock.c
patch
|
blob
|
history
diff --git
a/openbox/dock.c
b/openbox/dock.c
index
f149224
..
fe9a0f5
100644
(file)
--- a/
openbox/dock.c
+++ b/
openbox/dock.c
@@
-39,7
+39,15
@@
void dock_startup(gboolean reconfig)
XSetWindowAttributes attrib;
if (reconfig) {
+ XSetWindowBorder(ob_display, dock->frame,
+ RrColorPixel(ob_rr_theme->b_color));
+ XSetWindowBorderWidth(ob_display, dock->frame, ob_rr_theme->bwidth);
+
+ RrAppearanceFree(dock->a_frame);
+ dock->a_frame = RrAppearanceCopy(ob_rr_theme->a_unfocused_title);
+
stacking_add(DOCK_AS_WINDOW(dock));
+
dock_configure();
return;
}