win32

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 84916ffb83e2e6828df252f7e5de2f95f900d347
parent 7506071e517f7b9c4588dbf0b25f1bde551e5fbc
Author: Matsuda Kenji <info@mtkn.jp>
Date:   Wed, 17 Dec 2025 08:36:18 +0900

add border_pixel, still BadMatch

Diffstat:
Mwin32.c | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/win32.c b/win32.c @@ -30,12 +30,15 @@ int main(void) { fatal("32bit-deep visual info not found"); } + XSetWindowAttributes attr32 = { + .border_pixel = 0, + }; Window window32 = XCreateWindow(display, DefaultRootWindow(display), 0, 0, 1, 1, 0, 32, InputOutput, vi32.visual, - 0, NULL); + CWBorderPixel, &attr32); XSync(display, window); int quit = 0;