This commit is contained in:
luke bonham 2014-05-27 17:23:09 +02:00
parent 91f4d5553f
commit aae577c50f
9 changed files with 3 additions and 19 deletions

View File

@ -613,10 +613,8 @@ end)
client.connect_signal("focus", client.connect_signal("focus",
function(c) function(c)
if c.maximized_horizontal == true and c.maximized_vertical == true then if c.maximized_horizontal == true and c.maximized_vertical == true then
c.border_width = 0
c.border_color = beautiful.border_normal c.border_color = beautiful.border_normal
else else
c.border_width = beautiful.border_width
c.border_color = beautiful.border_focus c.border_color = beautiful.border_focus
end end
end) end)

View File

@ -706,10 +706,8 @@ end)
client.connect_signal("focus", client.connect_signal("focus",
function(c) function(c)
if c.maximized_horizontal == true and c.maximized_vertical == true then if c.maximized_horizontal == true and c.maximized_vertical == true then
c.border_width = 0
c.border_color = beautiful.border_normal c.border_color = beautiful.border_normal
else else
c.border_width = beautiful.border_width
c.border_color = beautiful.border_focus c.border_color = beautiful.border_focus
end end
end) end)

View File

@ -642,10 +642,8 @@ end)
client.connect_signal("focus", client.connect_signal("focus",
function(c) function(c)
if c.maximized_horizontal == true and c.maximized_vertical == true then if c.maximized_horizontal == true and c.maximized_vertical == true then
c.border_width = 0
c.border_color = beautiful.border_normal c.border_color = beautiful.border_normal
else else
c.border_width = beautiful.border_width
c.border_color = beautiful.border_focus c.border_color = beautiful.border_focus
end end
end) end)

View File

@ -748,10 +748,8 @@ end)
client.connect_signal("focus", client.connect_signal("focus",
function(c) function(c)
if c.maximized_horizontal == true and c.maximized_vertical == true then if c.maximized_horizontal == true and c.maximized_vertical == true then
c.border_width = 0
c.border_color = beautiful.border_normal c.border_color = beautiful.border_normal
else else
c.border_width = beautiful.border_width
c.border_color = beautiful.border_focus c.border_color = beautiful.border_focus
end end
end) end)

View File

@ -676,10 +676,8 @@ end)
client.connect_signal("focus", client.connect_signal("focus",
function(c) function(c)
if c.maximized_horizontal == true and c.maximized_vertical == true then if c.maximized_horizontal == true and c.maximized_vertical == true then
c.border_width = 0
c.border_color = beautiful.border_normal c.border_color = beautiful.border_normal
else else
c.border_width = beautiful.border_width
c.border_color = beautiful.border_focus c.border_color = beautiful.border_focus
end end
end) end)

View File

@ -665,10 +665,8 @@ end)
client.connect_signal("focus", client.connect_signal("focus",
function(c) function(c)
if c.maximized_horizontal == true and c.maximized_vertical == true then if c.maximized_horizontal == true and c.maximized_vertical == true then
c.border_width = 0
c.border_color = beautiful.border_normal c.border_color = beautiful.border_normal
else else
c.border_width = beautiful.border_width
c.border_color = beautiful.border_focus c.border_color = beautiful.border_focus
end end
end) end)

View File

@ -611,10 +611,8 @@ end)
client.connect_signal("focus", client.connect_signal("focus",
function(c) function(c)
if c.maximized_horizontal == true and c.maximized_vertical == true then if c.maximized_horizontal == true and c.maximized_vertical == true then
c.border_width = 0
c.border_color = beautiful.border_normal c.border_color = beautiful.border_normal
else else
c.border_width = beautiful.border_width
c.border_color = beautiful.border_focus c.border_color = beautiful.border_focus
end end
end) end)

View File

@ -620,10 +620,8 @@ end)
client.connect_signal("focus", client.connect_signal("focus",
function(c) function(c)
if c.maximized_horizontal == true and c.maximized_vertical == true then if c.maximized_horizontal == true and c.maximized_vertical == true then
c.border_width = 0
c.border_color = beautiful.border_normal c.border_color = beautiful.border_normal
else else
c.border_width = beautiful.border_width
c.border_color = beautiful.border_focus c.border_color = beautiful.border_focus
end end
end) end)