mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 16:01:27 +00:00
parent
2597321236
commit
e0ba689dba
|
@ -229,7 +229,7 @@ int main(int argc, char **argv) {
|
||||||
sway_abort("Invalid usage. See `man swaygrab` %d %d", argc, optind);
|
sway_abort("Invalid usage. See `man swaygrab` %d %d", argc, optind);
|
||||||
}
|
}
|
||||||
} else if (optind < argc) {
|
} else if (optind < argc) {
|
||||||
file = argv[optind];
|
file = strdup(argv[optind]);
|
||||||
}
|
}
|
||||||
|
|
||||||
int socketfd = ipc_open_socket(socket_path);
|
int socketfd = ipc_open_socket(socket_path);
|
||||||
|
|
Loading…
Reference in a new issue