mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-27 11:46:31 +00:00
"root" color was easy to make configurable
This commit is contained in:
parent
ffc19434ee
commit
6f9f1b9e05
2 changed files with 4 additions and 3 deletions
3
config.h
3
config.h
|
@ -1,3 +1,6 @@
|
||||||
|
/* appearance */
|
||||||
|
static const float rootcolor[] = {0.3, 0.3, 0.3, 1.0};
|
||||||
|
|
||||||
/* monitors */
|
/* monitors */
|
||||||
static const MonitorRule monrules[] = {
|
static const MonitorRule monrules[] = {
|
||||||
/* name scale */
|
/* name scale */
|
||||||
|
|
4
dwl.c
4
dwl.c
|
@ -701,9 +701,7 @@ rendermon(struct wl_listener *listener, void *data)
|
||||||
}
|
}
|
||||||
/* Begin the renderer (calls glViewport and some other GL sanity checks) */
|
/* Begin the renderer (calls glViewport and some other GL sanity checks) */
|
||||||
wlr_renderer_begin(renderer, m->wlr_output->width, m->wlr_output->height);
|
wlr_renderer_begin(renderer, m->wlr_output->width, m->wlr_output->height);
|
||||||
|
wlr_renderer_clear(renderer, rootcolor);
|
||||||
float color[4] = {0.3, 0.3, 0.3, 1.0};
|
|
||||||
wlr_renderer_clear(renderer, color);
|
|
||||||
|
|
||||||
/* Each subsequent window we render is rendered on top of the last. Because
|
/* Each subsequent window we render is rendered on top of the last. Because
|
||||||
* our client list is ordered front-to-back, we iterate over it backwards. */
|
* our client list is ordered front-to-back, we iterate over it backwards. */
|
||||||
|
|
Loading…
Reference in a new issue