got all window dragging, passthrough for mousemaps is still improper

This commit is contained in:
Harrison DiAmbrosio 2026-01-17 18:20:55 -05:00
parent 1f45f27f74
commit b37519369d
6 changed files with 84 additions and 39 deletions

View file

@ -90,7 +90,6 @@ pub fn processCursorMotion(self: *Cursor, time_msec: u32) void {
// Proceed if mousemap for current mouse and modifier state's exist
if (server.mousemaps.get(Mousemap.hash(modifiers, @bitCast(self.drag.?.event_code)))) |map| {
if(map.options.lua_drag_ref_idx > 0) {
std.debug.print("check\n", .{});
handled = map.callback(.drag, .{
.{
.x = @as(c_int, @intFromFloat(self.wlr_cursor.x)),