aboutsummaryrefslogtreecommitdiff
path: root/platform/x11
diff options
context:
space:
mode:
authoriamcheeseman <[email protected]>2026-05-10 00:28:14 -0400
committeriamcheeseman <[email protected]>2026-05-10 00:28:14 -0400
commit576bd27e11ec70bdbd1b9a644d2e227b57586337 (patch)
tree2dc41e3f88bb95568f73ee372fc35512afcbcf9b /platform/x11
parent9ed5698b3c74c7ce1784d3bebe2aa73d5a0c319d (diff)
i ain't splitting alla this up
Diffstat (limited to 'platform/x11')
-rw-r--r--platform/x11/x11.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/x11/x11.c b/platform/x11/x11.c
index c117c47..2dde168 100644
--- a/platform/x11/x11.c
+++ b/platform/x11/x11.c
@@ -11,9 +11,9 @@
#include <X11/Xlib.h>
#include <X11/Xutil.h>
-#include "common.h"
#include "teensy.h"
-#include "platform.h"
+#include "teensy_common.h"
+#include "teensy_platform.h"
#define SEC2NANO ((uint64_t)1000000000)
@@ -70,7 +70,7 @@ void ty_platform_init(struct ty_ctx *ctx)
p.dis,
p.root,
0, 0,
- ctx->creation_hints.win_width, ctx->creation_hints.win_height,
+ ctx->hints.scr_width, ctx->hints.scr_height,
0,
DefaultDepth(p.dis, p.scr),
CopyFromParent,