mirror of
https://github.com/MezzalunaWM/Mezzaluna.git
synced 2026-03-08 04:57:32 -04:00
simple cursor not being attached to the output layout
This commit is contained in:
parent
b8419806ef
commit
46b21391c0
2 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ const gpa = std.heap.c_allocator;
|
|||
pub var server: Server = undefined;
|
||||
|
||||
pub fn main() !void {
|
||||
// wlr.log.init(.debug, null);
|
||||
wlr.log.init(.debug, null);
|
||||
|
||||
std.log.info("Starting mezzaluna", .{});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue