A Wayland kiosk
Find a file
Jente Hidskes 16ab37b706 view: don't position override-redirect windows
Override-redirect windows are meant to be ignored by the X server, at
least as far as position goes. Hence, we detect whether we're dealing
with such a window and consequently don't position it.

This makes, amongst others, Chromium's popup menus and dmenu appear on
the correct position and size.
2019-01-31 16:57:51 +01:00
cage.c seat: remove cg_ prefix 2019-01-31 14:47:11 +01:00
config.h.in Add missing config.h.in 2019-01-02 22:28:56 +01:00
idle_inhibit_v1.c Add idle inhibitor support 2019-01-09 20:05:09 +01:00
idle_inhibit_v1.h Add idle inhibitor support 2019-01-09 20:05:09 +01:00
LICENSE Update copyright to include 2019 2019-01-02 21:01:01 +01:00
meson.build meson: check WLR_HAS_XWAYLAND when building with XWayland 2019-01-19 19:21:13 +01:00
meson_options.txt Add XWayland support 2019-01-02 20:58:48 +01:00
output.c output: do not render an overlay for now 2019-01-31 14:47:11 +01:00
output.h Suppport output transforms 2019-01-25 16:25:39 +01:00
README.md README: tinywl is now within wlroots 2019-01-31 14:49:01 +01:00
seat.c seat: remove cg_ prefix 2019-01-31 14:47:11 +01:00
seat.h seat: remove cg_ prefix 2019-01-31 14:47:11 +01:00
server.h Set Cage's window title to toplevel's title 2019-01-24 16:15:03 +01:00
view.c view: don't position override-redirect windows 2019-01-31 16:57:51 +01:00
view.h view: replace view_has_children with view_is_transient_for 2019-01-31 14:47:11 +01:00
xdg_shell.c view: replace view_has_children with view_is_transient_for 2019-01-31 14:47:11 +01:00
xdg_shell.h view: add proper abstraction with interface 2019-01-31 14:47:11 +01:00
xwayland.c view: don't position override-redirect windows 2019-01-31 16:57:51 +01:00
xwayland.h xwayland: reintroduce XWayland workaround 2019-01-31 14:47:11 +01:00

Cage: a Wayland kiosk

This is Cage, a Wayland kiosk. A kiosk runs a single, maximized application.

This README is only relevant for development resources and instructions. For a description of Cage and installation instructions for end-users, please see its project page.

Building and running Cage

You can build Cage with the meson build system. It requires wayland, wlroots and xkbcommon to be installed. Simply execute the following steps to build Cage:

$ meson build
$ ninja -C build

Cage comes with compile-time support for XWayland. To enable this, first make sure that your version of wlroots is compiled with this option. Then, add -Dxwayland=true to the meson command above. Note that you'll need to have the XWayland binary installed on your system for this to work.

You can run Cage by running ./build/cage APPLICATION. If you run it from within an existing X11 or Wayland session, it will open in a virtual output as a window in your existing session. If you run it at a TTY, it'll run with the KMS+DRM backend. In debug mode (default build type with Meson), press Alt+Esc to quit. To build a release build, use meson build --buildtype=release.

Cage is based on the annotated source of tinywl and rootston.

Bugs

For any bug, please create an issue on GitHub.

License

Please see LICENSE on GitHub.

Copyright © 2018-2019 Jente Hidskes hjdskes@gmail.com