wl_client/main.cc
2025-07-03 21:08:46 +03:00

18 lines
330 B
C++

#include <iostream>
#include <wayland-client-protocol.h>
#include <wayland-client.h>
int main()
{
wl_registry_listener listener;
wl_display* display = wl_display_connect(nullptr);
if (display) {
std::cout << "found\n";
} else {
std::cout << "not found\n";
return 0;
}
return 0;
}