diff options
| author | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-09 23:40:42 +0100 |
|---|---|---|
| committer | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-09 23:40:42 +0100 |
| commit | a0f3f80d8145349c58e95d2d820a5432441aabbe (patch) | |
| tree | 950ac32e7c62065e5256276ddceb2ca068a51296 /src/wayclock.cc | |
| parent | 9e8b564bbd1561985c12d8151cc786198e454ec0 (diff) | |
printing and opening display
Diffstat (limited to 'src/wayclock.cc')
| -rw-r--r-- | src/wayclock.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/wayclock.cc b/src/wayclock.cc index a398993..0e39169 100644 --- a/src/wayclock.cc +++ b/src/wayclock.cc @@ -1,3 +1,10 @@ +#include <wayland-client.h> + int main() { - + struct wl_display *disp = wl_display_connect(NULL); + if (!disp) { + return -1; + } + wl_display_disconnect(disp); + return 0; }
\ No newline at end of file |
