This commit is contained in:
Artur Mukhamadiev 2025-02-14 17:41:57 +03:00
parent a77a5ec4c9
commit 16bdcb2991

View File

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