awesome/lib/wibox
Uli Schlachter 983d094c76 wibox.layout.base.rect_to_device_geometry: Fix for "weird" rotations
The old code transformed the top-left and bottom-right corner of the rectangle
to device space and calculated a rectangle based on these two points. However,
if you rotate a rectangle by 45°, these two points will be directly above each
other and thus the old code would calculate a width of 0.

Fix this by transforming all four corners of the rectangle into device space and
calculating a rectangle based on this.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2014-10-05 10:47:39 +02:00
..
layout wibox.layout.base.rect_to_device_geometry: Fix for "weird" rotations 2014-10-05 10:47:39 +02:00
widget wibox.widget.systray: Special case the empty systray 2014-05-11 17:24:01 +02:00
drawable.lua.in Fix some random ldoc warnings 2014-04-13 18:06:49 +02:00
init.lua.in wbox: Make :find_widgets() easily accessible 2014-08-20 11:26:09 +02:00