mirror of
https://github.com/MezzalunaWM/Mezzaluna.git
synced 2026-03-07 19:49:53 -05:00
got all window dragging, passthrough for mousemaps is still improper
This commit is contained in:
parent
1f45f27f74
commit
b37519369d
6 changed files with 84 additions and 39 deletions
|
|
@ -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)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue