parent
7bb8512afb
commit
902d859c67
|
@ -437,7 +437,7 @@ int main(int argc, char **argv) {
|
|||
cursor = wl_cursor_theme_get_cursor(cursor_theme, "crosshair");
|
||||
assert(cursor);
|
||||
cursor_image = cursor->images[0];
|
||||
cursor_surface = wl_compositor_create_surface(compositor)
|
||||
cursor_surface = wl_compositor_create_surface(compositor);
|
||||
assert(cursor_surface);
|
||||
|
||||
EGLint attribs[] = { EGL_ALPHA_SIZE, 8, EGL_NONE };
|
||||
|
|
|
@ -30,7 +30,7 @@ int main(int argc, char **argv) {
|
|||
wlr_log_init(L_DEBUG, NULL);
|
||||
server.config = roots_config_create_from_args(argc, argv);
|
||||
server.wl_display = wl_display_create();
|
||||
server.wl_event_loop = wl_display_get_event_loop(server.wl_display)
|
||||
server.wl_event_loop = wl_display_get_event_loop(server.wl_display);
|
||||
assert(server.config && server.wl_display && server.wl_event_loop);
|
||||
|
||||
server.backend = wlr_backend_autocreate(server.wl_display);
|
||||
|
|
Loading…
Reference in New Issue