summaryrefslogtreecommitdiff
path: root/main.c
blob: 1bbc8854f4afeb44a31406eed9ae1c8a19a5d22b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18


#include <stdio.h>
#include <wayland-client.h>


int main(void)
{
	struct wl_display *display = wl_display_connect(NULL);
	if (!display) {
		fprintf(stderr, "Failed to connect to Wayland display.\n");
		return 1;
	}
	fprintf(stderr, "Connection established!\n");

	wl_display_disconnect(display);
	return 0;
}