From c8c28912fca6a4a7ba0f3694eca40e2e7a6421a0 Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Sun, 21 May 2023 11:16:27 +0200 Subject: Change the default color for window to red --- src/window.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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), -- cgit v1.2.3