Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ac03f6
)
Fix bar border color when starting with a single region.
author
Reginald Kennedy
<rk@rejii.com>
Sat, 27 Oct 2012 08:04:28 +0000
(16:04 +0800)
committer
Reginald Kennedy
<rk@rejii.com>
Sat, 27 Oct 2012 08:04:31 +0000
(16:04 +0800)
spectrwm.c
patch
|
blob
|
history
diff --git
a/spectrwm.c
b/spectrwm.c
index
130c7af
..
2bad31b
100644
(file)
--- a/
spectrwm.c
+++ b/
spectrwm.c
@@
-3339,11
+3339,6
@@
set_region(struct swm_region *r)
if (r == NULL)
return;
- /* Skip if only one region on this screen. */
- rf = TAILQ_FIRST(&r->s->rl);
- if (TAILQ_NEXT(rf, entry) == NULL)
- goto out;
-
rf = r->s->r_focus;
/* Unfocus old region bar. */
if (rf) {
@@
-3359,7
+3354,6
@@
set_region(struct swm_region *r)
xcb_change_window_attributes(conn, r->bar->id,
XCB_CW_BORDER_PIXEL, &r->s->c[SWM_S_COLOR_BAR_BORDER].pixel);
-out:
r->s->r_focus = r;
}