diff options
Diffstat (limited to 'platform/x11/x11.c')
| -rw-r--r-- | platform/x11/x11.c | 6 |
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, |
