simple cursor not being attached to the output layout

This commit is contained in:
Harrison DiAmbrosio 2025-10-19 16:44:31 -04:00
parent b8419806ef
commit 46b21391c0
2 changed files with 3 additions and 1 deletions

View file

@ -26,6 +26,8 @@ pub fn init(self: *Cursor) !void {
try self.x_cursor_manager.load(1);
self.wlr_cursor.attachOutputLayout(server.root.output_layout);
self.wlr_cursor.events.motion.add(&self.motion);
self.wlr_cursor.events.motion_absolute.add(&self.motion_absolute);
self.wlr_cursor.events.button.add(&self.button);