projects
/
mikachu
/
openbox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Specific border width/color for undecorated active/inactive windows (bug #4889)
[mikachu/openbox.git]
/
openbox
/
frame.c
diff --git
a/openbox/frame.c
b/openbox/frame.c
index
3aa3ab7
..
48dda24
100644
(file)
--- a/
openbox/frame.c
+++ b/
openbox/frame.c
@@
-348,7
+348,8
@@
void frame_adjust_area(ObFrame *self, gboolean moved,
self->shaded = self->client->shaded;
if (self->decorations & OB_FRAME_DECOR_BORDER)
- self->bwidth = ob_rr_theme->fbwidth;
+ self->bwidth = self->client->undecorated ?
+ ob_rr_theme->ubwidth : ob_rr_theme->fbwidth;
else
self->bwidth = 0;