From 896fe291a63f8f67f7e4fe3917139c5cbba10951 Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Sat, 17 May 2025 00:39:14 +0200 Subject: Fix the size of the window --- src/main/ui/x11/ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/ui/x11/ui.c') diff --git a/src/main/ui/x11/ui.c b/src/main/ui/x11/ui.c index 49ac978..0ca06f3 100644 --- a/src/main/ui/x11/ui.c +++ b/src/main/ui/x11/ui.c @@ -73,7 +73,7 @@ static Window ui_create_window(Window root, XVisualInfo *vi, int width, int height) { XSetWindowAttributes swa = ui_get_attributes(root, vi); - Window window = XCreateWindow(display, root, 0, 0, width, width, 0, vi->depth, InputOutput, vi->visual, + Window window = XCreateWindow(display, root, 0, 0, width, height, 0, vi->depth, InputOutput, vi->visual, CWColormap | CWEventMask, &swa); XMapWindow(display, window); -- cgit v1.2.3