From 6af44658a82d76b4dc16c532a54fc3a2cf1e55b3 Mon Sep 17 00:00:00 2001 From: Lucas Schwiderski Date: Wed, 22 Dec 2021 18:36:59 +0100 Subject: [PATCH] bug(w.l.overflow): Don't set position to initial click location Signed-off-by: Lucas Schwiderski --- lib/wibox/layout/overflow.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/wibox/layout/overflow.lua b/lib/wibox/layout/overflow.lua index ebebedfc6..dbf982981 100644 --- a/lib/wibox/layout/overflow.lua +++ b/lib/wibox/layout/overflow.lua @@ -418,9 +418,6 @@ local function build_grabber(container, initial_x, initial_y, geo) local start_pos = container._private.scroll_factor * bar_interval local start = is_y and initial_y or initial_x - -- Set to initial click location - container:set_scroll_factor(start / container._private.avail_in_dir) - -- Calculate a matrix transforming from screen coordinates into widget -- coordinates. -- This is required for mouse movement to work when the widget has been