parent
b6ce95cd15
commit
92d6fcda92
|
@ -1478,10 +1478,12 @@ for _, prop in ipairs { "border_width", "border_color", "opacity" } do
|
||||||
return self["_"..prop]
|
return self["_"..prop]
|
||||||
end
|
end
|
||||||
client.object["set_"..prop] = function(self, value)
|
client.object["set_"..prop] = function(self, value)
|
||||||
|
if value ~= nil then
|
||||||
self._private["_user_"..prop] = true
|
self._private["_user_"..prop] = true
|
||||||
self["_"..prop] = value
|
self["_"..prop] = value
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
--- Activate (focus) a client.
|
--- Activate (focus) a client.
|
||||||
--
|
--
|
||||||
|
|
Loading…
Reference in New Issue