commit 85407abc9ca8ed60b02cca0c4a477f6d257c7c1f
parent 00216075361408f4f5deb0ee831b8d8fb6ff35a7
Author: Matsuda Kenji <info@mtkn.jp>
Date: Sat, 20 Dec 2025 11:32:28 +0900
change border_pixel
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/xcb.c b/xcb.c
@@ -56,7 +56,7 @@ int main(void) {
xcb_colormap_t colormap32 = xcb_generate_id(conn);
xcb_create_colormap(conn, XCB_COLORMAP_ALLOC_NONE, colormap32, screen->root, visual32.visual_id);
xcb_window_t window32 = xcb_generate_id(conn);
- uint32_t attr32[2] = { 0, colormap32 };
+ uint32_t attr32[2] = { 114514, colormap32 };
xcb_create_window(conn, 32, window32, screen->root,
0, 0, 1, 1, 0,
XCB_WINDOW_CLASS_INPUT_OUTPUT,
diff --git a/xlib.c b/xlib.c
@@ -60,7 +60,7 @@ int main(void) {
}
Colormap colormap32 = XCreateColormap(display, DefaultRootWindow(display), vi32.visual, AllocNone);
XSetWindowAttributes attr32 = {
- .border_pixel = 0,
+ .border_pixel = 114514,
.colormap = colormap32,
};
Window window32 = XCreateWindow(display, DefaultRootWindow(display),