|
@ -386,9 +386,10 @@ int main(int argc, char *argv[]) { |
|
|
case 'p': |
|
|
case 'p': |
|
|
if (!strcmp(optarg, "win")) { |
|
|
if (!strcmp(optarg, "win")) { |
|
|
curs_choice = CURS_WIN; |
|
|
curs_choice = CURS_WIN; |
|
|
} |
|
|
} else if (!strcmp(optarg, "default")) { |
|
|
if (!strcmp(optarg, "default")) { |
|
|
|
|
|
curs_choice = CURS_DEFAULT; |
|
|
curs_choice = CURS_DEFAULT; |
|
|
|
|
|
} else { |
|
|
|
|
|
errx(1, "i3lock: Invalid pointer type given. Expected one of \"win\" or \"default\".\n"); |
|
|
} |
|
|
} |
|
|
break; |
|
|
break; |
|
|
default: |
|
|
default: |
|
|