33 lines
1.6 KiB
Diff
33 lines
1.6 KiB
Diff
--- gluqlo-1.1.20211231git/gluqlo.c.orig 2023-03-27 22:18:56.210217168 +0200
|
|
+++ gluqlo-1.1.20211231git/gluqlo.c 2023-03-27 22:21:17.335465207 +0200
|
|
@@ -347,15 +347,15 @@
|
|
printf(" -r\t\tCustom resolution in WxH format\n");
|
|
printf(" -s\t\tCustom display scale factor\n");
|
|
return 0;
|
|
- } else if(strcmp("-root", argv[i]) == 0 || strcmp("-f", argv[i]) == 0 || strcmp("--fullscreen", argv[i]) == 0) {
|
|
+ } else if(strcmp("-root", argv[i]) == 0 || strcmp("--root", argv[i]) == 0 || strcmp("-f", argv[i]) == 0 || strcmp("--fullscreen", argv[i]) == 0) {
|
|
fullscreen = true;
|
|
- } else if(strcmp("-noflip", argv[i]) == 0) {
|
|
+ } else if(strcmp("-noflip", argv[i]) == 0 || strcmp("--noflip", argv[i]) == 0) {
|
|
animate = false;
|
|
- } else if(strcmp("-anykeyclose", argv[i]) == 0) {
|
|
+ } else if(strcmp("-anykeyclose", argv[i]) == 0 || strcmp("--anykeyclose", argv[i]) == 0) {
|
|
anykeyclose = true;
|
|
- } else if(strcmp("-ampm", argv[i]) == 0) {
|
|
+ } else if(strcmp("-ampm", argv[i]) == 0 || strcmp("--ampm", argv[i]) == 0) {
|
|
twentyfourh = false;
|
|
- } else if(strcmp("-leadingzero", argv[i]) == 0) {
|
|
+ } else if(strcmp("-leadingzero", argv[i]) == 0 || strcmp("--leadingzero", argv[i]) == 0) {
|
|
leadingzero = true;
|
|
} else if(strcmp("-r", argv[i]) == 0 || strcmp("--resolution", argv[i]) == 0) {
|
|
char *resolution = argv[i+1];
|
|
@@ -373,7 +373,7 @@
|
|
} else if(strcmp("-s", argv[i]) == 0) {
|
|
display_scale_factor = atof(argv[i+1]);
|
|
i++;
|
|
- } else if(strcmp("-window-id", argv[i]) == 0) {
|
|
+ } else if(strcmp("-window-id", argv[i]) == 0 || strcmp("--window-id", argv[i]) == 0) {
|
|
wid = strtol(argv[i+1], (char **) NULL, 0);
|
|
i++;
|
|
} else {
|