Commit 66b61c3387b231e4906eed146ad4564625155f40
1 parent
f459bc95
Exists in
master
and in
4 other branches
Fixing windows theme.
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
src/main/main.c
... | ... | @@ -38,6 +38,8 @@ |
38 | 38 | #include <lib3270.h> |
39 | 39 | #include <lib3270/log.h> |
40 | 40 | #include <locale.h> |
41 | + #include <stdlib.h> | |
42 | + | |
41 | 43 | #ifdef G_OS_UNIX |
42 | 44 | #include <glib-unix.h> |
43 | 45 | #endif // G_OS_UNIX |
... | ... | @@ -83,6 +85,9 @@ int main (int argc, char **argv) { |
83 | 85 | g_autofree gchar * appdir = g_win32_get_package_installation_directory_of_module(NULL); |
84 | 86 | g_autofree gchar * locdir = g_build_filename(appdir,"locale",NULL); |
85 | 87 | bindtextdomain( PACKAGE_NAME, locdir ); |
88 | + | |
89 | + // https://stackoverflow.com/questions/37035936/how-to-get-native-windows-decorations-on-gtk3-on-windows-7-and-msys2 | |
90 | + putenv("GTK_CSD=0"); | |
86 | 91 | } |
87 | 92 | #endif // _WIN32 |
88 | 93 | ... | ... |