Remove hard-coded restriction on drawing borders when only a single window is present
Instead this is controlled by the active layout. Fixes #1750
This commit is contained in:
parent
18335b3eac
commit
f722b898b0
@ -68,7 +68,7 @@ class Borders:
|
|||||||
bw, pw = self.border_width, self.padding_width
|
bw, pw = self.border_width, self.padding_width
|
||||||
if bw + pw <= 0:
|
if bw + pw <= 0:
|
||||||
return
|
return
|
||||||
draw_borders = bw > 0 and draw_window_borders and len(windows) > 1
|
draw_borders = bw > 0 and draw_window_borders
|
||||||
if draw_borders:
|
if draw_borders:
|
||||||
border_data = current_layout.resolve_borders(windows, active_window)
|
border_data = current_layout.resolve_borders(windows, active_window)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user