awesome/lib/wibox
Uli Schlachter c4eb4b1f23 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-11 13:31:10 +02:00
..
layout wibox.layout.base.rect_to_device_geometry: Fix for "weird" rotations 2014-10-11 13:31:10 +02:00
widget Allow reversing the icon order in systray 2014-04-06 10:44:51 +02:00
drawable.lua.in wibox.drawable: Assert that no cairo error occurred 2014-04-01 16:21:37 +02:00
init.lua.in wbox: Make :find_widgets() easily accessible 2014-08-24 13:29:58 +02:00