rotate: Use the draw_widget() function
commit21d821a8dd2c4eb756c31705b92b5b815761608d
authorUli Schlachter <psychon@znc.in>
Fri, 6 Jul 2012 11:09:13 +0000 (6 13:09 +0200)
committerUli Schlachter <psychon@znc.in>
Fri, 6 Jul 2012 11:09:13 +0000 (6 13:09 +0200)
treef6b3d8404ad6b83b16382179c585e7171fdf5cdd
parentf571ba41403e6ca062e0bbe2b90fdee5517b90a4
rotate: Use the draw_widget() function

Without this, input handling is broken (draw_widget() registers each widget with
its position for input handling).

This also removes some unnecessary save()/restore() calls. Our caller (again
draw_widget()) already does that for us.

Signed-off-by: Uli Schlachter <psychon@znc.in>
lib/wibox/layout/rotate.lua.in