|
5 | 5 | * @author Martin Pulec <pulec@cesnet.cz> |
6 | 6 | */ |
7 | 7 | /* |
8 | | - * Copyright (c) 2018-2026 CESNET, zájmové sdružení právnických osob |
| 8 | + * Copyright (c) 2018-2025 CESNET |
9 | 9 | * All rights reserved. |
10 | 10 | * |
11 | 11 | * Redistribution and use in source and binary forms, with or without |
|
60 | 60 | #include <stdbool.h> // for true, bool, false |
61 | 61 | #include <stdint.h> // for int64_t, uint32_t |
62 | 62 | #include <stdio.h> // for printf, sscanf, snprintf |
63 | | -#include <stdlib.h> // for atoi, calloc, free, getenv |
| 63 | +#include <stdlib.h> // for atoi, free, calloc |
64 | 64 | #include <string.h> // for NULL, strlen, strcmp, strstr, strchr |
65 | 65 | #include <time.h> // for timespec_get, TIME_UTC, timespec |
66 | 66 |
|
@@ -1083,11 +1083,6 @@ display_sdl3_init(struct module *parent, const char *fmt, unsigned int flags) |
1083 | 1083 | if (driver != NULL) { |
1084 | 1084 | SDL_CHECK(SDL_SetHint(SDL_HINT_VIDEO_DRIVER, driver)); |
1085 | 1085 | } |
1086 | | - if (getenv("WAYLAND_DISPLAY")) { |
1087 | | - SDL_CHECK( |
1088 | | - SDL_SetHint("SDL_VIDEO_WAYLAND_PREFER_LIBDECOR", "0")); |
1089 | | - MSG(INFO, "Disabling libdecor.\n"); |
1090 | | - } |
1091 | 1086 | if (!SDL_InitSubSystem(SDL_INIT_VIDEO)) { |
1092 | 1087 | MSG(ERROR, "Unable to initialize SDL3 video: %s\n", |
1093 | 1088 | SDL_GetError()); |
|
0 commit comments