misc changes
This commit is contained in:
parent
ae905b0ebf
commit
b6514b3374
2
Makefile
2
Makefile
|
@ -1,5 +1,5 @@
|
||||||
bspc:
|
bspc:
|
||||||
cc bspc.c -o bspc -lxcb
|
cc bspc.c -o bspc -lxcb -Wall -Wextra -std=c99
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm bspc
|
rm bspc
|
||||||
|
|
3
bspc.c
3
bspc.c
|
@ -35,6 +35,7 @@
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <sys/un.h>
|
#include <sys/un.h>
|
||||||
|
#include <xcb/xcb.h>
|
||||||
#include <poll.h>
|
#include <poll.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -253,7 +254,7 @@ char *send_msg_to_bspwm(char *args[], int count)
|
||||||
err("Failed to send the data.\n");
|
err("Failed to send the data.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
int ret = EXIT_SUCCESS, nb;
|
int nb;
|
||||||
|
|
||||||
struct pollfd fds[] = {
|
struct pollfd fds[] = {
|
||||||
{sock_fd, POLLIN, 0},
|
{sock_fd, POLLIN, 0},
|
||||||
|
|
Loading…
Reference in New Issue