File: test.c

package info (click to toggle)
wlroots 0.19.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,592 kB
  • sloc: ansic: 75,766; xml: 2,739; sh: 33; makefile: 23
file content (15 lines) | stat: -rw-r--r-- 306 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#define WLR_USE_UNSTABLE
#include <wayland-server.h>
#include <wlr/util/log.h>
#include <wlr/backend.h>
#include <assert.h>

int main()
{
    struct wl_event_loop *loop;

    wlr_log_init(WLR_DEBUG, NULL);
    loop = wl_event_loop_create ();
    assert(wlr_backend_autocreate(loop, NULL));
    return 0;
}