Merge pull request #42 from klaernie/master
remove useless invocations of awful.client.moveresize()
This commit is contained in:
commit
23b7e4a8a9
|
@ -636,7 +636,6 @@ for s = 1, screen.count() do screen[s]:connect_signal("arrange", function ()
|
||||||
-- No borders with only one visible client
|
-- No borders with only one visible client
|
||||||
elseif #clients == 1 or layout == "max" then
|
elseif #clients == 1 or layout == "max" then
|
||||||
clients[1].border_width = 0
|
clients[1].border_width = 0
|
||||||
awful.client.moveresize(0, 0, 2, 2, clients[1])
|
|
||||||
else
|
else
|
||||||
c.border_width = beautiful.border_width
|
c.border_width = beautiful.border_width
|
||||||
end
|
end
|
||||||
|
|
|
@ -729,7 +729,6 @@ for s = 1, screen.count() do screen[s]:connect_signal("arrange", function ()
|
||||||
-- No borders with only one visible client
|
-- No borders with only one visible client
|
||||||
elseif #clients == 1 or layout == "max" then
|
elseif #clients == 1 or layout == "max" then
|
||||||
clients[1].border_width = 0
|
clients[1].border_width = 0
|
||||||
awful.client.moveresize(0, 0, 2, 2, clients[1])
|
|
||||||
else
|
else
|
||||||
c.border_width = beautiful.border_width
|
c.border_width = beautiful.border_width
|
||||||
end
|
end
|
||||||
|
|
|
@ -665,7 +665,6 @@ for s = 1, screen.count() do screen[s]:connect_signal("arrange", function ()
|
||||||
-- No borders with only one visible client
|
-- No borders with only one visible client
|
||||||
elseif #clients == 1 or layout == "max" then
|
elseif #clients == 1 or layout == "max" then
|
||||||
clients[1].border_width = 0
|
clients[1].border_width = 0
|
||||||
awful.client.moveresize(0, 0, 2, 2, clients[1])
|
|
||||||
else
|
else
|
||||||
c.border_width = beautiful.border_width
|
c.border_width = beautiful.border_width
|
||||||
end
|
end
|
||||||
|
|
|
@ -771,7 +771,6 @@ for s = 1, screen.count() do screen[s]:connect_signal("arrange", function ()
|
||||||
-- No borders with only one visible client
|
-- No borders with only one visible client
|
||||||
elseif #clients == 1 or layout == "max" then
|
elseif #clients == 1 or layout == "max" then
|
||||||
clients[1].border_width = 0
|
clients[1].border_width = 0
|
||||||
awful.client.moveresize(0, 0, 2, 2, clients[1])
|
|
||||||
else
|
else
|
||||||
c.border_width = beautiful.border_width
|
c.border_width = beautiful.border_width
|
||||||
end
|
end
|
||||||
|
|
|
@ -688,7 +688,6 @@ for s = 1, screen.count() do screen[s]:connect_signal("arrange", function ()
|
||||||
-- No borders with only one visible client
|
-- No borders with only one visible client
|
||||||
elseif #clients == 1 or layout == "max" then
|
elseif #clients == 1 or layout == "max" then
|
||||||
clients[1].border_width = 0
|
clients[1].border_width = 0
|
||||||
awful.client.moveresize(0, 0, 2, 2, clients[1])
|
|
||||||
else
|
else
|
||||||
c.border_width = beautiful.border_width
|
c.border_width = beautiful.border_width
|
||||||
end
|
end
|
||||||
|
|
|
@ -634,7 +634,6 @@ for s = 1, screen.count() do screen[s]:connect_signal("arrange", function ()
|
||||||
-- No borders with only one visible client
|
-- No borders with only one visible client
|
||||||
elseif #clients == 1 or layout == "max" then
|
elseif #clients == 1 or layout == "max" then
|
||||||
clients[1].border_width = 0
|
clients[1].border_width = 0
|
||||||
awful.client.moveresize(0, 0, 2, 2, clients[1])
|
|
||||||
else
|
else
|
||||||
c.border_width = beautiful.border_width
|
c.border_width = beautiful.border_width
|
||||||
end
|
end
|
||||||
|
|
|
@ -643,7 +643,6 @@ for s = 1, screen.count() do screen[s]:connect_signal("arrange", function ()
|
||||||
-- No borders with only one visible client
|
-- No borders with only one visible client
|
||||||
elseif #clients == 1 or layout == "max" then
|
elseif #clients == 1 or layout == "max" then
|
||||||
clients[1].border_width = 0
|
clients[1].border_width = 0
|
||||||
awful.client.moveresize(0, 0, 2, 2, clients[1])
|
|
||||||
else
|
else
|
||||||
c.border_width = beautiful.border_width
|
c.border_width = beautiful.border_width
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue