Fix getopt("D")

This commit is contained in:
Horror Proton 2024-12-23 21:49:50 +08:00 committed by Simon Ser
parent 19157d3564
commit 360e259ca5

2
cage.c
View file

@ -242,7 +242,7 @@ static bool
parse_args(struct cg_server *server, int argc, char *argv[])
{
int c;
while ((c = getopt(argc, argv, "dhm:sv")) != -1) {
while ((c = getopt(argc, argv, "dDhm:sv")) != -1) {
switch (c) {
case 'd':
server->xdg_decoration = true;