Index: head/x11-wm/cage/Makefile =================================================================== --- head/x11-wm/cage/Makefile (revision 522231) +++ head/x11-wm/cage/Makefile (revision 522232) @@ -1,36 +1,36 @@ # $FreeBSD$ PORTNAME= cage DISTVERSIONPREFIX= v DISTVERSION= 0.1.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= x11-wm MAINTAINER= jbeich@FreeBSD.org COMMENT= Wayland kiosk LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>=1.14:graphics/wayland-protocols \ wlroots>=0.6.0:x11-toolkits/wlroots LIB_DEPENDS= libwayland-server.so:graphics/wayland \ libwlroots.so:x11-toolkits/wlroots \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 meson pkgconfig xorg USE_GITHUB= yes USE_XORG= pixman GH_ACCOUNT= Hjdskes PLIST_FILES= "${MAYBE_SUID}bin/${PORTNAME}" OPTIONS_DEFINE= SUID X11 OPTIONS_DEFAULT=SUID X11 SUID_DESC= setuid bit on "${PORTNAME}" binary (required for DRM session) SUID_VARS= MAYBE_SUID="@(,,4755) " X11_MESON_TRUE= xwayland .include Index: head/x11-wm/cage/files/patch-wlroots-0.9 =================================================================== --- head/x11-wm/cage/files/patch-wlroots-0.9 (revision 522231) +++ head/x11-wm/cage/files/patch-wlroots-0.9 (revision 522232) @@ -1,20 +1,33 @@ https://github.com/Hjdskes/cage/commit/33bb3c818c59 +https://github.com/Hjdskes/cage/commit/51e6c760da51 --- cage.c.orig 2019-06-03 17:55:52 UTC +++ cage.c @@ -374,15 +374,6 @@ end: wl_event_source_remove(sigint_source); wl_event_source_remove(sigterm_source); seat_destroy(server.seat); - wlr_server_decoration_manager_destroy(server_decoration_manager); - wlr_xdg_decoration_manager_v1_destroy(xdg_decoration_manager); - wlr_xdg_shell_destroy(xdg_shell); - wlr_idle_inhibit_v1_destroy(server.idle_inhibit_v1); - if (server.idle) { - wlr_idle_destroy(server.idle); - } - wlr_data_device_manager_destroy(data_device_mgr); - wlr_compositor_destroy(compositor); wlr_output_layout_destroy(server.output_layout); /* This function is not null-safe, but we only ever get here with a proper wl_display. */ +--- output.c.orig 2019-06-03 17:55:52 UTC ++++ output.c +@@ -386,6 +386,9 @@ handle_new_output(struct wl_listener *listener, void * + /* Place the cursor in the center of the screen. */ + wlr_cursor_warp(server->seat->cursor, NULL, wlr_output->width / 2, wlr_output->height / 2); + wlr_output_damage_add_whole(server->output->damage); ++ ++ wlr_output_enable(wlr_output, true); ++ wlr_output_commit(wlr_output); + } + + void