mirror of
https://github.com/MezzalunaWM/Mezzaluna.git
synced 2026-03-07 19:49:53 -05:00
add subsurface compositor
This commit is contained in:
parent
f500937b96
commit
5dd3bea18d
1 changed files with 2 additions and 0 deletions
|
|
@ -75,6 +75,8 @@ pub fn init(server: *Server) !void {
|
||||||
try server.renderer.initServer(wl_server);
|
try server.renderer.initServer(wl_server);
|
||||||
try Root.init(&server.root);
|
try Root.init(&server.root);
|
||||||
|
|
||||||
|
_ = try wlr.Subcompositor.create(server.wl_server);
|
||||||
|
|
||||||
server.backend.events.new_input.add(&server.new_input);
|
server.backend.events.new_input.add(&server.new_input);
|
||||||
server.seat.events.request_set_cursor.add(&server.request_set_cursor);
|
server.seat.events.request_set_cursor.add(&server.request_set_cursor);
|
||||||
server.seat.events.request_set_selection.add(&server.request_set_selection);
|
server.seat.events.request_set_selection.add(&server.request_set_selection);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue