Am 10.10.2014 um 18:37 schrieb Elv1313 .:
> Wow... Huston, we have a problem
>
> -- this work
> mydesktop_wibox.x = 100
> mydesktop_wibox.width = 100
> mydesktop_wibox.height = 100
> mydesktop_wibox.y = 100
>
>
> -- this doesn't work, have the problem described above
> mydesktop_wibox.x = 100
> mydesktop_wibox.y = 100
> mydesktop_wibox.width = 100
> mydesktop_wibox.height = 100
>
> Uli, any idea about this?
Urgh.
My first idea would be:
--You have to create a wibox first:
local mydesktop_wibox = wibox({
x = 100, y = 100, width = 100, height = 100, below = true})
--then make it transparent:
mydesktop_wibox:set_bg("#00000000") --transparent
-- and set your widget
mydesktop_wibox:set_widget(your_widget)
mydesktop_wibox.visible = true
IMO nicer that way. I also moved the .visible = true to the end, although that
shouldn't really make a difference.
Anyway, for the bug in question:
Fixed by [0] and a similar case is fixed by [1].
Cheers,
Uli
[0]:
http://git.naquadah.org/?p=awesome.git;a=commit;h=70fef83e50336c5e0105d90cb14e83f6631214d0
[1]:
http://git.naquadah.org/?p=awesome.git;a=commit;h=d76e20bbcefd28de17300f2766a28bffb6bcafe3
--
99 little bugs in the code
99 little bugs in the code
Take one down, patch it around
117 little bugs in the code
-- @irqed
--
To unsubscribe, send mail to [email protected].