diff options
author | 2025-05-17 00:39:14 +0200 | |
---|---|---|
committer | 2025-05-17 00:39:14 +0200 | |
commit | 896fe291a63f8f67f7e4fe3917139c5cbba10951 (patch) | |
tree | 0a2e87e1996587a67ad85bf2171f4a0c787bfdf7 /src/main/ui/x11/ui.c | |
parent | c1479866e3254dae4891f85e5d9f35fda76fd387 (diff) | |
download | tris-896fe291a63f8f67f7e4fe3917139c5cbba10951.tar.gz tris-896fe291a63f8f67f7e4fe3917139c5cbba10951.zip |
Fix the size of the window
Diffstat (limited to 'src/main/ui/x11/ui.c')
-rw-r--r-- | src/main/ui/x11/ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |