second
This commit is contained in:
parent
a77a5ec4c9
commit
16bdcb2991
5
main.cc
5
main.cc
@ -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;
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user