mirror of https://github.com/lcpz/lain.git
Fixed global border interaction with cascade stack
This commit is contained in:
parent
bb2fd2acbe
commit
8ef10adb95
|
@ -152,8 +152,8 @@ function cascadetile.arrange(p)
|
||||||
c = cls[i]
|
c = cls[i]
|
||||||
g = {}
|
g = {}
|
||||||
g.width = slavewid - current_offset_x - 2*bw
|
g.width = slavewid - current_offset_x - 2*bw
|
||||||
g.height = wa.height - current_offset_y -2*bw
|
g.height = wa.height - current_offset_y - 2*bw
|
||||||
g.x = wa.x + mainwid + (how_many - (i - 1)) * cascadetile.offset_x
|
g.x = wa.x + mainwid + (how_many - (i - 1)) * cascadetile.offset_x + global_border
|
||||||
g.y = wa.y + (i - 2) * cascadetile.offset_y + global_border
|
g.y = wa.y + (i - 2) * cascadetile.offset_y + global_border
|
||||||
if useless_gap > 0
|
if useless_gap > 0
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in New Issue