mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-17 22:14:53 +02:00
Fix drops being sent to invisbile windows in stack layout
This commit is contained in:
@@ -1958,6 +1958,7 @@ class Boss:
|
|||||||
y -= central.top
|
y -= central.top
|
||||||
if tab := tm.active_tab:
|
if tab := tm.active_tab:
|
||||||
for window in tab:
|
for window in tab:
|
||||||
|
if window.is_visible_in_layout:
|
||||||
g = window.geometry
|
g = window.geometry
|
||||||
if g.left <= x < g.right and g.top <= y < g.bottom:
|
if g.left <= x < g.right and g.top <= y < g.bottom:
|
||||||
window.on_drop(drop)
|
window.on_drop(drop)
|
||||||
|
|||||||
Reference in New Issue
Block a user