mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-03-01 01:40:36 -05:00
Support multiple outputs
Outputs are arranged in a horizontal layout in the order they are created in by wlroots. Maximized xdg_shell views will span all outputs, like the global fullscreen mode in sway. Fixes #87
This commit is contained in:
parent
0aeba8085c
commit
3dc5caa6a7
7 changed files with 95 additions and 39 deletions
1
cage.c
1
cage.c
|
|
@ -220,6 +220,7 @@ main(int argc, char *argv[])
|
|||
wlr_renderer_init_wl_display(renderer, server.wl_display);
|
||||
|
||||
wl_list_init(&server.views);
|
||||
wl_list_init(&server.outputs);
|
||||
|
||||
server.output_layout = wlr_output_layout_create();
|
||||
if (!server.output_layout) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue