cage: revbump and fix for updated wlroots
This commit is contained in:
parent
f0d921de9f
commit
2325c0f950
|
@ -0,0 +1,41 @@
|
|||
--- output.c
|
||||
+++ output.c
|
||||
@@ -386,6 +386,9 @@
|
||||
/* 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
|
||||
--- meson.build
|
||||
+++ meson.build
|
||||
@@ -35,7 +35,7 @@
|
||||
)
|
||||
endif
|
||||
|
||||
-wlroots = dependency('wlroots', version: '>= 0.6.0')
|
||||
+wlroots = dependency('wlroots', version: '>= 0.10.0')
|
||||
wayland_protos = dependency('wayland-protocols', version: '>=1.14')
|
||||
wayland_server = dependency('wayland-server')
|
||||
pixman = dependency('pixman-1')
|
||||
--- cage.c
|
||||
+++ cage.c
|
||||
@@ -374,15 +374,6 @@
|
||||
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. */
|
|
@ -1,10 +1,10 @@
|
|||
# Template file for 'cage'
|
||||
pkgname=cage
|
||||
version=0.1.1
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=meson
|
||||
hostmakedepends="pkg-config wayland-devel"
|
||||
makedepends="libxkbcommon-devel pixman-devel wayland-devel wlroots-devel"
|
||||
makedepends="xcb-util-wm-devel xcb-util-errors-devel libxkbcommon-devel pixman-devel wayland-devel wlroots-devel"
|
||||
short_desc="Kiosk compositor for Wayland"
|
||||
maintainer="Illia Shestakov <ishestakov@airmail.cc>"
|
||||
license="MIT"
|
||||
|
|
Loading…
Reference in New Issue