aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-05-21 11:16:27 +0200
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-05-21 11:16:27 +0200
commitc8c28912fca6a4a7ba0f3694eca40e2e7a6421a0 (patch)
treef9bea205d99bf5e4b13a645bfc44f6908ec35747 /src
parent0df920a66fc34c2e84134f09d1415066fb4ee712 (diff)
downloadcherry-c8c28912fca6a4a7ba0f3694eca40e2e7a6421a0.tar.gz
cherry-c8c28912fca6a4a7ba0f3694eca40e2e7a6421a0.zip
Change the default color for window to red
Diffstat (limited to 'src')
-rw-r--r--src/window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index 01218a6..131244f 100644
--- a/src/window.c
+++ b/src/window.c
@@ -31,7 +31,8 @@ cherry_window_new(void)
hints.flags = PPosition|PSize;
XSetWindowAttributes attributes;
- attributes.background_pixel = XWhitePixel(app->display, app->screen);
+/* attributes.background_pixel = XWhitePixel(app->display, app->screen); */
+ attributes.background_pixel = RGB(100, 10, 10);
w->window_handler = XCreateWindow(app->display,
XRootWindow(app->display, app->screen),