mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-26 18:22:09 +02:00
Fixed call to Tall.neighbors_for_window
This commit is contained in:
@@ -721,7 +721,7 @@ class Grid(Layout): # {{{
|
|||||||
def neighbors_for_window(self, window, windows):
|
def neighbors_for_window(self, window, windows):
|
||||||
n = len(windows)
|
n = len(windows)
|
||||||
if n < 4:
|
if n < 4:
|
||||||
return Tall.neighbors_for_window(window, windows)
|
return Tall.neighbors_for_window(self, window, windows)
|
||||||
try:
|
try:
|
||||||
n, ncols, nrows, special_rows, special_col = windows[0].layout_data
|
n, ncols, nrows, special_rows, special_col = windows[0].layout_data
|
||||||
except Exception:
|
except Exception:
|
||||||
|
|||||||
Reference in New Issue
Block a user