second
This commit is contained in:
parent
a77a5ec4c9
commit
16bdcb2991
5
main.cc
5
main.cc
@ -1,15 +1,20 @@
|
||||
#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;
|
||||
}
|
||||
|
||||
wl_registry* registry = wl_display_get_registry(display);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user